Hi all,
I did success to make the scripts and execute them everyday. But what we need is the script should run only during work day (Mon-Fri), not week end (Sat & Sun).
Is there any example for this ?
Regards
Paul
Hi all,
I did success to make the scripts and execute them everyday. But what we need is the script should run only during work day (Mon-Fri), not week end (Sat & Sun).
Is there any example for this ?
Regards
Paul
Hi
I have two possible options for you:
Option 1:
Enter 5 entries into the scheduler that will run your script - Set the first one to execute on a date that falls on a monday, the second one on a date that falls on a Tuesday and so forth.
Set all Intervals to 7 days. Then you’ll have 5 scheduled tasks, running on each of the weekdays, and then sleep until next week.
Option 2:
Write a script that is first runs on a Monday.
In the script, let the script set it’s own Scheduler events, with interval of 24 hours.
After 5 days, remove the scheduler event and reschedule for 3 days later to lapse over the weekend. The problem with this approach is how one keeps track of what day-number it is. One can do it with global variables, but that will be lost when the router is rebooted.
Hope that helps.
-K
Thx krigevr for yr answer,
I just make another 2 schedules, they are :
Both of them with interval 168 hours.
We will see the results within next 1 week.
Regards
Paul