NanoTech-kw · Tech Guide Library

SCHTASKS CMD (Scheduled Tasks)

Windows · CMD

Create, query, run, or delete scheduled tasks. Syntax: schtasks /create /tn [name] /tr [task] /sc [schedule]

Step-by-step

  1. Open Command Prompt as Administrator (right-click Start > Terminal (Admin) / Command Prompt (Admin))
  2. Syntax: schtasks /create /tn [name] /tr [task] /sc [schedule]
  3. Brief: Create, query, run, or delete scheduled tasks.
  4. Example: schtasks /create /tn DailyBackup /tr backup.cmd /sc daily /st 02:00
  5. Tip: schtasks /run /tn name runs it now; /delete removes it.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →