0

i want to execute wecutil rs command after each 2 min interval on single machine. which is the best way to this ? please provide example or link. Thank you in advance.

Shog9
  • 146,212
  • 34
  • 221
  • 231
sagar
  • 1,738
  • 5
  • 27
  • 42

1 Answers1

0

You can write a batch file which contains FOR loop which contains your command call and SLEEP.

Alexey Berezkin
  • 1,413
  • 1
  • 9
  • 17
  • Thank you.Will you provide code of that for loop and sleep,because i dont know how to write batch file. – sagar Feb 20 '12 at 08:54
  • This is how to create an infinite loop (not FOR): http://stackoverflow.com/questions/5487473/how-to-create-an-infinite-loop-in-windows-batch-file. To sleep 2 minutes you need `sleep 120`. – Alexey Berezkin Feb 20 '12 at 09:04
  • when i try with sleep 120, it shows error "sleep is not recognized as internal or external command" – sagar Feb 20 '12 at 09:16