Change time check for cron
This commit is contained in:
parent
b7729447f6
commit
4c962cd25c
|
@ -2334,7 +2334,7 @@ class ConsoleSupervisor
|
|||
|
||||
// Check if DiscoveryCronTasks is running. Warn user if not.
|
||||
if ($config['cron_last_run'] == 0
|
||||
|| (get_system_time() - $config['cron_last_run']) > 3600
|
||||
|| (get_system_time() - $config['cron_last_run']) > SECONDS_10MINUTES
|
||||
) {
|
||||
$message_conf_cron = __('DiscoveryConsoleTasks is not running properly');
|
||||
if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
|
||||
|
|
Loading…
Reference in New Issue