From faae75ed40d608d3fd734d5ffc2d786107c367a9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 17 May 2017 11:56:43 +0200 Subject: cron: Clear stucklist on reboot --- inc/event.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc/event.inc.php') diff --git a/inc/event.inc.php b/inc/event.inc.php index 7a7c48b0..89e68650 100644 --- a/inc/event.inc.php +++ b/inc/event.inc.php @@ -20,6 +20,10 @@ class Event EventLog::info('System boot...'); $everythingFine = true; + // Delete job entries that might have been running when system rebooted + Property::clearList('cron.key.status'); + Property::clearList('cron.key.blocked'); + // Tasks: fire away $mountId = Trigger::mount(); $autoIp = Trigger::autoUpdateServerIp(); -- cgit v1.2.3-55-g7522