How to schedule a windows task to repeat every day within a time range?
In Windows 7, how to schedule a task which repeats every hour, every day but within a time range. I have a script which needs to run everyday from 08:00 to 20:00 in 1 hour interval.Could not find any solution even after googling.Anybody tried something similar? Any hints?
Solution 1:
The Task Scheduler does this all by itself... When you add a trigger to tell the task when to run, it's available as an advanced option.
Solution 2:
The 12 hour duration each day is supported in the UI, for others you need to use the command line. You set the recur to daily and the repeat + duration for how often and for how long you want the tasks to run during that day.
The trigger summary ends up as: