Proper Cron Jobs
Permalink
Hi
Is there anyway to run Cron jobs properly in C5?
Invoke them from the command line rather than via curl, I run Varnish and running to curl to do Cron jobs just is not an option.
Thanks
Is there anyway to run Cron jobs properly in C5?
Invoke them from the command line rather than via curl, I run Varnish and running to curl to do Cron jobs just is not an option.
Thanks
Maybe this addon will work for you:
http://www.concrete5.org/marketplace/addons/nontab-scheduler/...
If not, I think you'll need to create a PHP command line script -- piece together the functionality from /concrete/dispatcher.php and /concrete/tools/jobs.php (and change the $_GET stuff to command-line parameters). If you go this route, it might be helpful to see how the command-line installer does its thing:
https://github.com/concrete5/concrete5-cli/blob/master/install-concr...