Best practice forum (Archived)

Cron processes

 
Bodo Hoenen
Cron processes
di Bodo Hoenen - Wednesday, 15 May 2013, 07:57
 

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
di ? ? - Wednesday, 15 May 2013, 08:25
 

+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
di Bodo Hoenen - Monday, 10 June 2013, 06:38
 

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

me
Re: Cron processes
di George Angus - Monday, 10 June 2013, 20:52
Gruppo 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.