X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcron.php;h=8842d3bdfa6eabea99bf4a21cb2b1675d4cadad8;hb=143e7fc6b707f377d383a498999ce712d04dd102;hp=ccac49b637b7c901ed8acf81a74df795c7bc540e;hpb=0ac725dc471d9541ec4fb40a8fbcf3982116eb64;p=friendica.git diff --git a/include/cron.php b/include/cron.php index ccac49b637..8842d3bdfa 100644 --- a/include/cron.php +++ b/include/cron.php @@ -42,12 +42,6 @@ function cron_run(&$argv, &$argc){ // Expire and remove user entries proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "expire_and_remove_users"); - // Check OStatus conversations - proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "ostatus_mentions"); - - // Check every conversation - proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "ostatus_conversations"); - // Call possible post update functions proc_run(PRIORITY_LOW, "include/cronjobs.php", "post_update"); @@ -85,6 +79,9 @@ function cron_run(&$argv, &$argc){ // Delete all done workerqueue entries dba::delete('workerqueue', array('`done` AND `executed` < UTC_TIMESTAMP() - INTERVAL 12 HOUR')); + + // check upstream version? + Worker::add(PRIORITY_LOW, 'checkversion'); } // Poll contacts