I have a question related to scheduled tasks. I have a cron set up to run runScheduledTasks.php everyday in the morning. If I have the option scheduled_tasks_report_error_only set to Off, should I get some report email everyday as well? I don’t now, and the cron returns 200 status, so looks like runs ok.
my server admins provided me with ability to edit crontab through setting up individual files containing cron settings. But it only works in the case when I call a file included in a cron via url, not for cli commands. So in case of runScheduledTasks.php I have:
@ctgraham, alright, thanks, so this is why it doesn’t work for me.
I should switch back to acron plugin. Is there any control over this plugin in terms of when it triggers scheduled tasks? What is the Reload Scheduled Tasks option responsible for exactly?
The acron plugin will try to execute the tasks of which it is aware on every web access. These tasks will only be triggered if the last_runtime as recorded in the scheduled_tasks database table is earlier then “frequency” as defined in the scheduled task’s xml file.
This leaves you relatively little control over when the tasks run.
The Reload Scheduled tasks command will check the scheduled task xml files and add any new tasks into the scheduled_tasks database table to make acron aware of them.