diff options
author | Simon Rettberg | 2017-05-17 11:56:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-17 11:56:43 +0200 |
commit | faae75ed40d608d3fd734d5ffc2d786107c367a9 (patch) | |
tree | e8d58e9beff1b339587d6f26656cf4542c109f40 /inc/event.inc.php | |
parent | [apis/cron] Fix typo in 'EventLog' handle blocked jobs in separate list (diff) | |
download | slx-admin-faae75ed40d608d3fd734d5ffc2d786107c367a9.tar.gz slx-admin-faae75ed40d608d3fd734d5ffc2d786107c367a9.tar.xz slx-admin-faae75ed40d608d3fd734d5ffc2d786107c367a9.zip |
cron: Clear stucklist on reboot
Diffstat (limited to 'inc/event.inc.php')
-rw-r--r-- | inc/event.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |