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;
|
||||
// Days start in 1
|
||||
if (position == 2) default_value = 1;
|
||||
return isWildCard(position)
|
||||
return (isWildCard(position) || !isNormalInterval(position))
|
||||
? default_value
|
||||
: this->params[position][CRDOWN];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue