Using the Command Line Task Scheduler (schtasks)

The schtasks command is the command line interface that can be used instead of the GUI application Scheduled Tasks in the Control Panel. If you are a die-hard command line worker, you will like schtasks.

Note

The schtasks command is the replacement for the old AT command. Windows still supports that command, but schtasks is much more flexible. If you have written script or batch files that use the AT command, you might want to consider rewriting them to use this newer command, which more closely matches what you can do with GUI to the Schedule service.

The syntax for schtasks is as follows:

 schtasks /parameter [arguments] Parameter List: /Create Creates a new scheduled task. /Delete Deletes the ...

Get Microsoft® Windows® XP Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.