Merge branch 'ent-7381-comportamiento-extraño-cron-modulos' into 'develop'

Improved business logic for cron

See merge request artica/pandorafms!4080
This commit is contained in:
Daniel Rodriguez 2021-04-28 15:24:47 +00:00
commit 2930306767
1 changed files with 1 additions and 1 deletions

View File

@ -1733,7 +1733,7 @@ sub cron_check_interval {
my ($down, $up) = cron_get_interval($elem_cron);
# Check if it is not a range
if (!defined($up)) {
if (!defined($up) || $up eq $down) {
return ($down == $elem_curr_time) ? 1 : 0;
}