Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Cron.

Talk:Cron: Difference between revisions

From MoodleDocs
(Created sample pages -will delete sections and reformat page later)
Line 13: Line 13:
Comments? --[[User:chris collman|chris collman]] 23:25, 12 November 2011 (WST)
Comments? --[[User:chris collman|chris collman]] 23:25, 12 November 2011 (WST)


==Cron.php with no activity report==
==Will create change on this page later==
Repeatly triggered /admin/cron.php on a localhost that had no activity except for the running of cron.  This localhost had several advanced features turned on including course completion.  Periodically cron.php would find assignment_cron, chat_cron, forum_cron, scrom_cron to run, which are part of the activity modules.  The rss_client would have activity periodically.  For future reference, here is a report showing no activity and nothing that needs to be done. 
Not hearing any immediate response to my proposals, I will wait a few days before I change things--[[User:chris collman|chris collman]] 22:58, 17 November 2011 (WST)
===The report===
 
*I will delete this later, collapsed format is ok with me.
I will create a template at that time, put in sublinks to the new pages at the top of this page. I will reformat this page and deal with all the processes that cron deals with :) --[[User:chris collman|chris collman]] 22:58, 17 November 2011 (WST)
Server Time: Thu, 17 Nov 2011 13:49:52 +0100
Cleaning up stale sessions
Starting activity modules
Finished activity modules
Starting blocks
Finished blocks
Starting quiz reports
Finished quiz reports
Starting admin reports
Finished admin reports
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Starting the completion cron...
Marking users as started
Running completion_criteria_date->cron()
Running completion_criteria_activity->cron()
Running completion_criteria_duration->cron()
Running completion_criteria_grade->cron()
Running completion_criteria_course->cron()
Aggregating completions
done
Checking automated backup status...INACTIVE
Running auth crons if required...
Running enrol crons if required...
...preventing stats to run, more than 4 hours since scheduled time.
Starting course reports
Finished course reports
Starting gradebook plugins
Finished gradebook plugins
Fetching external blog entries...done.
Deleting blog associations linked to non-existent contexts...done.
Starting registration update on hubs...
Finished registration update on hubs.
Deleting old draft files... done.
Deleting session linked tokens more than one day old...done.
Processing customized cron scripts ...Processing cron function for local_qeupgradehelper...
done. (1 dbqueries, 0 seconds)
done.
Cron script completed correctly
Execution took 0.302819 seconds
--[[User:chris collman|chris collman]] 21:00, 17 November 2011 (WST)

Revision as of 14:58, 17 November 2011

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 windows OS page - move section.
  • Cron MAC OS X page - move section
  • Cron on web hosting service page - move section
  • Cron linix OS page - move section

Comments? --Chris collman 23:25, 12 November 2011 (WST)

Will create change on this page later

Not hearing any immediate response to my proposals, I will wait a few days before I change things--Chris collman 22:58, 17 November 2011 (WST)

I will create a template at that time, put in sublinks to the new pages at the top of this page. I will reformat this page and deal with all the processes that cron deals with :) --Chris collman 22:58, 17 November 2011 (WST)