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,010
  • 5
  • 25
  • 35
sks
  • 199
  • 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 /?
sotn
  • 3,840
  • 2
  • 23
  • 29