Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. REM Delete the task:
  2. SCHTASKS /Delete /TN "NameOfScheduledTask" /f
  3.  
  4. REM Create a task to run every 5 minutes
  5. SCHTASKS /Create /TN NameOfScheduledTask /SC MINUTE /MO 5 /TR "some command for task" /NP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement