mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02:00
cron.php is reworked, other worker files had been moved temporarily
This commit is contained in:
parent
799c67c141
commit
405753d1c3
24 changed files with 265 additions and 289 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue