I think you're saying that you want the same ONE task scheduled with Windows Task Scheduler to run:
- Every 10 minutes between 12 AM and 7 AM every day (starting at 12 AM first run and ending at 7 AM last run)
- You need this to also run between 8 AM and 11 PM every hour every day (starting at 8 AM for the first run and ending at 11 PM for the last run)
This is possible scheduling it with multiple triggers as shown in the below screen shots. When you create the task with Task Scheduler, go to the
Triggers tab, select New, and you'll get the options to specify as in the below screen shots.
You may have to pick the 12 hours option from the
for duration of drop down and then replace the "12" with "7" or "15" where applicable manually with the keybooard.
(Essentially you are creating two schedules\triggers with one starting at 12 AM and running for a duration of 7 hours (until 7 AM) every 10 minutes, and the other starting at 8 AM and running for a duration of 15 hours (until 11 PM) every 1 hour.)
Important Options to Pick (per below screen shots)
Settings area options needs to be set to
Start: time needs to be specified correctly
Recur every: option needs to be 1
Repeat task every option needs checked, and specified correctly
For duration of: needs to be specified correctly
Enabled option needs to be checked