Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .