Quick Actions
schtasks
Description
Schedules commands and scripts to run on a computer at a specified time or event.
Command
schtasks
Examples
List all scheduled tasks
schtasks /query
Create a new task to run notepad daily at noon
schtasks /create /sc daily /tn "My Task" /tr "notepad.exe" /st 12:00
Run an existing task
schtasks /run /tn "My Task"
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
/create |
string | No | Creates a new scheduled task. |
/delete |
string | No | Deletes a scheduled task. |
/query |
string | No | Displays all scheduled tasks. |
/run |
string | No | Runs a scheduled task immediately. |
Command Info
Category:
System Management
Type:
Windows
Views:
12
Status:
Active
Tags
windows
cmd
schedule
task
automation