Merge pull request #3874 from tobiasd/20171009-checkversion
check upstream version
This commit is contained in:
commit
c847a2f9cc
5 changed files with 74 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue