Merge pull request #3874 from tobiasd/20171009-checkversion

check upstream version
This commit is contained in:
Hypolite Petovan
2017-11-06 13:59:49 -05:00
committed by GitHub
5 changed files with 74 additions and 0 deletions

View File

@@ -80,6 +80,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