From cde7e011a5ccb3b3e24d18705640ecbeaf0cd1eb Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 18 Oct 2018 18:01:36 +0200 Subject: [PATCH] Fixed module_crontab in windows agent on minutes wildcard --- pandora_agents/win32/misc/cron.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_agents/win32/misc/cron.cc b/pandora_agents/win32/misc/cron.cc index d712c2685c..2d3e5e0440 100644 --- a/pandora_agents/win32/misc/cron.cc +++ b/pandora_agents/win32/misc/cron.cc @@ -227,7 +227,7 @@ int Cron::getResetValue (int position) { * @return false if should not execute */ bool Cron::shouldExecuteAt (time_t date) { - return this->utimestamp < date; + return this->utimestamp <= date; } /**