Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Cron.
Comment from Eloy:
"If there is some template to mark one page as "require some love" I'd say https://docs.moodle.org/en/Cron requires it. It talks 99% of the time to use web-browser cron. Only 1 line talks about cli cron." --Helen Foster 20:44, 9 November 2011 (WST)
- I just noticed this comment. Cron is not one of my special areas of knowledge but obviously use it. Did a quick "Cron CLI" on the web and got lost in how to program a php file to run cron jobs. Saw the note about 2.0 and CLI on this page.
I think Eloy's comment is also saying that this page is too long and could be split up? For example use a navtrail and a Cron template. Proposed pages:
- Cron page - Overview section
- Cron with Windows OS page - move section.
- Cron with MAC OS X page - move section
- Cron with web hosting services page - move section
- Cron with UNIX page - move section
- Cron reports
- Cron settings
Comments? --chris collman 23:25, 12 November 2011 (WST)
Notice that I am using the phrase "the Moodle cron process". As I understand it, this process can be triggered via admin/cron.php OR via a cron service at admin/cli/cron.php. Frankly, I am not sure how lib/cronlib.php works with either of these trigeer points but I don't think that is important for the site admin. The old cron page refered to cron.php with the assumption that it was in admin. To avoid confusion for a new user, I decided to call it a Moodle cron process.--chris collman 23:57, 19 November 2011 (WST)
- Hi Chris, thanks for your work in improving the cron documentation and sorry for taking so long to reply to your comments. Unfortunately I have no knowledge of the cron, however the good news is that Howard has offered to help improve all of our installation documentation, so he'll most likely review the cron documentation too :-) --Helen Foster 17:14, 23 November 2011 (WST)
- Super. Course Completion has been crashing the Moodle Cron process, so I got my nose in it. I am still at Cron 101. Looking forward to Howard cleaning it up. Having it in seperate pages should help. --chris collman 04:38, 24 November 2011 (WST)