From ace0766da775d5bd0d93b6bad81f9a84ede96c8d Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 21 Sep 2018 15:59:55 +0200 Subject: [PATCH] JeroenED: architect of weird failing structures --- webcron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcron.php b/webcron.php index 22db385..694607d 100644 --- a/webcron.php +++ b/webcron.php @@ -26,7 +26,7 @@ require_once "include/initialize.inc.php"; -if(file_exists('/tmp/webcron.lock') && file_get_contents('/tmp/webcron.lock') + 0 < time() - get_configvalue('master.crashtimeout')) +if(file_exists('/tmp/webcron.lock') && file_get_contents('/tmp/webcron.lock') + get_configvalue('master.crashtimeout') > time() ) { die('Script is already running'); }