So 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 by scheduling it with multiple triggers as shown in the below screen shots and the Important Options to Pick section.
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 keyboard.
Essentially you are creating two schedules\triggers...
- One starting at 12 AM and running for a duration of 7 hours (until 7 AM) every 10 minutes.
- 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)
- The
Settings
area options needs to be set to Daily
- The
Start:
time needs to be specified correctly
- The
Recur every:
option needs to be 1 days
- The
Repeat task every
option needs checked, and specified correctly
- The
For duration of:
needs to be specified correctly
- The
Enabled
option needs to be checked
