windowswindows-servicesscheduled-taskstaskscheduler

Run the task scheduler twice a day but not hourly intervals


I'm trying to start a windows service in task scheduler to run twice a day, one at 12.00pm and next one at 10.00pm on the same day. I want this to run every day. Is this can be done? Thanks a lot in advance


Solution

  • You would need to create 2 separate tasks.

    To make this go a little faster, you can create the first task to run at 12:00pm. Then just export the task and immediately import the same task under a slightly different name. Edit the imported task with the new time of 10:00pm

    export and reimport task xml

    And unless you need it to be exactly at 12:00 you should edit trigger to randomize the time by checking the appropriate box. Make the delay time as long as you need.

    randomize task start time