cron.php is reworked, other worker files had been moved temporarily

This commit is contained in:
Michael 2017-11-14 21:50:16 +00:00
parent 799c67c141
commit 405753d1c3
24 changed files with 265 additions and 289 deletions

View file

@ -241,7 +241,7 @@ class Worker {
// The script could be provided as full path or only with the function name
if ($include == basename($include)) {
$include = "include/".$include.".php";
$include = "worker/".$include.".php";
}
if (!validate_include($include)) {
@ -902,7 +902,7 @@ class Worker {
self::add(PRIORITY_HIGH, "spool_post");
// Run the cron job that calls all other jobs
self::add(PRIORITY_MEDIUM, "cron");
self::add(PRIORITY_MEDIUM, "Cron");
// Run the cronhooks job separately from cron for being able to use a different timing
self::add(PRIORITY_MEDIUM, "CronHooks");