- Fri Jan 13, 2023 5:03 pm
#830367
I was wondering what the certified ProcessMaker approach was to configuring a plugin's cron execution to be nightly when the cron.php itself is executed every 5 minutes? Currently I'm thinking I need to check if an execution is the first execution of a new day and if that is the case do my work and then somehow store that the work has been done for the day.
I'm using ProcessMaker 3.5.7 if that is needed. I've been doing a real deep dive into plugin development so any information is helpful.
My cron is:
*/5 * * * * /usr/bin/php -f "/opt/processmaker-3.5.7/workflow/engine/bin/cron.php" plugins
I'm using ProcessMaker 3.5.7 if that is needed. I've been doing a real deep dive into plugin development so any information is helpful.
My cron is:
*/5 * * * * /usr/bin/php -f "/opt/processmaker-3.5.7/workflow/engine/bin/cron.php" plugins