I have a program will run continuously for 12 hours from 7am to 7pm. I have enabled it to run at 7am every day and stop it by 7pm by using windows task scheduler.
It works fine except that if I reboot computer during 7am and 7pm, after reboot the task will not run because it is already past 7am.
I created another same task schedule to run the program after start up, but if I reboot the computer during 7pm to the next day 7am, the task will run at the wrong time (7pm to 7am at night!) because it is triggered by reboot.
How to get the program run from 7am to 7pm and also endure the reboot incident? Thank you.