Best practice forum (Archived)

Cron processes

 
HoenenBodo
Cron processes
HoenenBodo 发表于 2013年05月15日 Wednesday 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
?? 发表于 2013年05月15日 Wednesday 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.

HoenenBodo
Re: Cron processes
HoenenBodo 发表于 2013年06月10日 Monday 06:38
 

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

me
Re: Cron processes
AngusGeorge 发表于 2013年06月10日 Monday 20:52
小组 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.