Best practice forum (Archived)

Cron processes

 
Bodo Hoenen
Cron processes
by Bodo Hoenen - Wednesday, 15 May 2013, 7:57 AM
 

Hi guys, 

Does someone have some documentation on when different processes run in the cron for a standard installation, assuming the cron is run every 30 minutes.

Something like:

  • Course enrollment: done every time the cron is run
  • Program completion: done daily
  • ...
Regards
Bodo
? ?
Re: Cron processes
by ? ? - Wednesday, 15 May 2013, 8:25 AM
 

+1  for this information please.

I suppose there may also be conditional parts to this, where a job is only run if certain conditions (other than time) are met.

Bodo Hoenen
Re: Cron processes
by Bodo Hoenen - Monday, 10 June 2013, 6:38 AM
 

Hi Guys, does anyone have some documentation on this one?

me
Re: Cron processes
by George Angus - Monday, 10 June 2013, 8:52 PM
Group Totara

Hi Bodo,

The code is pretty self-explanitory - 

"First login program assignments are hourly, but everything else is run daily - course completion etc is daily. 
You can edit the settings here: 

/totara/program/cron.php 
program_hourly_cron() { line #58 
program_daily_cron() { line #84"

Hope this is useful,

 

regards,

 

George.