I got an answer about this question, about 2 years ago,
but now I want to use the same command to create a task that will run every half an hour. How can that be done? Thank you in advance.
-
forgot to say: i use windows 7– bksJul 4, 2011 at 9:24
-
Based on TechNet and Sample, it looks like that may not be supported by AT. AT allows specifying days, not minutes.– TOOGAMAug 19, 2016 at 1:39
1 Answer
You should use schtasks
instead:
schtasks /create /sc minute /mo 30 /tn "Task runs Every 30 Minuts" /tr c:\PATH\TO\TASK.exe
http://technet.microsoft.com/en-us/library/cc725744%28WS.10%29.aspx#BKMK_minutes
-
-
-
To create the task to run as the system account—something you can't do via the Scheduled Tasks GUI, but which happens automatically when you use the
at
command—useschtasks … /ru System …
.– PhrogzMay 12, 2013 at 3:42