]> git.mxchange.org Git - friendica.git/blobdiff - include/cron.php
code corrections
[friendica.git] / include / cron.php
index 8b0fab77abfefedc5b0dc1c92abf016a03f3b794..8842d3bdfa6eabea99bf4a21cb2b1675d4cadad8 100644 (file)
@@ -79,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