Improved business logic for cron

This commit is contained in:
José González 2021-04-27 12:19:20 +02:00
parent 7dc54c48ac
commit d0c3174d8c
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;
}