开发者

Help with using schtasks, defining a specific time

开发者 https://www.devze.com 2023-03-13 20:13 出处:网络
I have successfully created a task, although I am having trouble defining when it should occur e.开发者_如何学JAVAg. using the /MO command.

I have successfully created a task, although I am having trouble defining when it should occur e.开发者_如何学JAVAg. using the /MO command.

How is it possible to tell schtasks to execute this on e.g. every 5 days on the 4th hour of that day?

schtasks.exe /Create /SC DAILY /TN "testing123" /TR "C:\Program Files\test\scanner.exe 'C:\'"


Use:

/SC DAILY /MO 5 /ST 04:00
0

精彩评论

暂无评论...
验证码 换一张
取 消