leuchtdiode/laminas-cron

Laminas module for cron execution

0.8.0 2024-02-20 09:08 UTC

This package is auto-updated.

Last update: 2024-04-20 09:35:46 UTC


README

This module provides the possibility to configure the applications crontabs via Laminas config.

The only crontab which has to be run "outside" on the host machine is

* * * * * vendor/bin/laminas-cron process

The processable jobs are being executed in parallel (sub processes) thanks to amphp/process.

You can enable a second crontab for monitoring purposes. Adapt the execution time to your needs:

? ? ? ? ? vendor/bin/laminas-cron monitoring

The monitoring job is separate to not interfer with errors which are happening during processing. Monitoring would be useless if the monitoring job dies within exectuion.

Use vendor/bin/laminas-cron help to show all possible commands.