Function cron_main
main cron function
called by - page load (through footer.php), if (getConf("cronjob_delay") > 0) => default: every 3600 seconds => only, if somebody uses churchtools - viewing mails (through embeeded hidden pixel) => but only if image is loaded! (unreliable) - manual execution (through admin menu: excute planned tasks) - real system cron job (if configured by system admin) - functions.php: startSendingMailsInBackground(), with parameter sendmail=true
Parameters summary
directCall |
$directCall = false |
call directly per Script, so no result is given |