1

I'm trying to get windows scheduler to run a particular .bat script every 30 minutes or so, but the options only allow for once a day execution.

Is there a way I can get it to run a .bat script every 30 minutes?

Squashman
  • 13,649
  • 5
  • 27
  • 36
sks
  • 197
  • 1
  • 3
  • 14

1 Answers1

5

You can use the following to create a new scheduler

SCHTASKS /Create /SC MINUTE /MO 30 /TN MyTaskName /TR "c:/myBat.bat"

If you need additional settings, use

SCHTASKS /Create /?
yakya
  • 4,559
  • 2
  • 29
  • 31