Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i did get answer about this question, about 2 years ago:
Running bat file using Windows scheduler
but now i want to use the same command to create a task that will run every half an hour.
how can it be done?
thank you in advance

share|improve this question
    
forgot to say: i use windows 7 –  bks Jul 4 '11 at 9:24
add comment

1 Answer

up vote 3 down vote accepted

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

share|improve this answer
    
ok i'll check it –  bks Jul 4 '11 at 10:24
    
it worked, thank you –  bks Jul 6 '11 at 13:11
    
Glad I could help. –  cularis Jul 6 '11 at 13:12
    
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—use schtasks … /ru System …. –  Phrogz May 12 '13 at 3:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.