Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require eblick/contao-trigger
Skip this point if you are using a Managed Edition of Contao.
Enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new \eBlick\ContaoTriggerBundle(),
);
// ...
}
// ...
}
The system gets triggered by the internal 'minutely cron job'. Disable
Contao's 'poor man cronjob' (periodic command scheduler) to make sure
the execution only happens by a real cron job via the _contao/cron
route and not during regular site visits.