Configure heartbeat cron
The heartbeat cronjob is one of the significant parts of Pacemaker.
It is necessary to have this job up and running to use Pacemaker.
The heartbeat executes the condition checks for and initiates pipelines, which are ready to be completed.
At the same time, it checks the conditions for steps within existing pipelines and triggers the execution, if a step is ready to run.
Default configuration
By default you should create a new crontab entry within your OS as following:
* * * * * /usr/bin/env php <PATH_TO_MAGENTO_ROOT>/bin/magento pipeline:heartbeat
This configuration will run the heartbeat every minute.
Another heartbeat interval
If you need to run the heartbeat less often then every minute, you need to define the pulse
to avoid
time gaps within time-based conditions.
Example for a heartbeat, which is running every two minues:
*/2 * * * * /usr/bin/env php <PATH_TO_MAGENTO_ROOT>/bin/magento pipeline:heartbeat --pulse 2