
Scheduler A Quick One
Scheduler A Quick One
I would like Robotask to run a task every 14 days is there a way of doing this? If you could kindly help me with that.The cyclic only has a certain maximum number of seconds
...I basically want to schedule task to copy and replace files from a folder every 14 days.

Scheduler A Quick One
Try the following algorithm:
1. Use scheduler event with weekly period
2. Execute necessary code only on odd (or even) week. See below:
If {MyOddFlag} = 1 then
Do necessary actions
Set variable MyOddFlag to 0
else
Set variable MyOddFlag to 1
end if
This task will be launched every 7 days but necessary code will be executed only each 14 days
1. Use scheduler event with weekly period
2. Execute necessary code only on odd (or even) week. See below:
If {MyOddFlag} = 1 then
Do necessary actions
Set variable MyOddFlag to 0
else
Set variable MyOddFlag to 1
end if
This task will be launched every 7 days but necessary code will be executed only each 14 days