Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We want to schedule a task every 3rd day of the month also we need conditional check that if 3rd day comes on Sunday task should run on next day that is 4th day of the month. Is it possible.
No, that's not possible directly in the QMC. You would have to create a separate scheduler application and do your checks in there:
IF (Day(TODAY()) = 3 AND WeekDay(TODAY()) <> 6) OR (DAY(TODAY()) = 4 AND WeekDay(TODAY()) = 0)
TRACE Reload;
ELSE
TRACE No reload;
call ThrowException('Error: reload schedule error.'); // Fake error
END IF
Then for the actual app you want to reload, link it's trigger to this scheduler app.
No, that's not possible directly in the QMC. You would have to create a separate scheduler application and do your checks in there:
IF (Day(TODAY()) = 3 AND WeekDay(TODAY()) <> 6) OR (DAY(TODAY()) = 4 AND WeekDay(TODAY()) = 0)
TRACE Reload;
ELSE
TRACE No reload;
call ThrowException('Error: reload schedule error.'); // Fake error
END IF
Then for the actual app you want to reload, link it's trigger to this scheduler app.
Thank you for the solution. Will give a try.