mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Fixed problems with inverse cron intervals in Windows agent
Former-commit-id: 0573c83dd346ef9076504688071d4678e554a6d5
This commit is contained in:
parent
873525726e
commit
ae3c461da6
@ -214,7 +214,7 @@ int Cron::getResetValue (int position) {
|
|||||||
int default_value = 0;
|
int default_value = 0;
|
||||||
// Days start in 1
|
// Days start in 1
|
||||||
if (position == 2) default_value = 1;
|
if (position == 2) default_value = 1;
|
||||||
return isWildCard(position)
|
return (isWildCard(position) || !isNormalInterval(position))
|
||||||
? default_value
|
? default_value
|
||||||
: this->params[position][CRDOWN];
|
: this->params[position][CRDOWN];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user