Run a Scheduled Task Every Minute

0 comments

As of Windows 7 the Scheduled Task application only allows you to select a minimum runtime of once an hour, but the functionality to support running a task once a minute still exists from the command line.

schtasks /create /sc minute /mo 1 /tn “Security Script” /tr script.bat /ru “SYSTEM”

/sc minute /mo < number > – run every number of minutes
/ru “SYSTEM” – run task as the System user and thus prevent the bat file from displaying a command prompt when run

Leave a Comment

Previous post:

Next post: