Fixed problems with inverse cron intervals in Windows agent

Former-commit-id: 0573c83dd346ef9076504688071d4678e554a6d5
This commit is contained in:
fermin831 2019-04-05 13:09:12 +02:00
parent 873525726e
commit ae3c461da6
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}