3
1
I am using the schtasks command to create a scheduled task that I want to have run hourly, so I am using the parameter: /sc HOURLY
However I would also like that task to run immediately on creation as well.
So the desired timeline is: Create task and run immediately, then run hourly after that.
The scheduled task is going to be installed via a batch file and the task takes several minutes to run, so whatever causes the initial run can not be blocking on the batch file.