mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Improved business logic for cron
This commit is contained in:
parent
7dc54c48ac
commit
d0c3174d8c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user