February 29, 2024

To schedule a command on Windows NT to occur at a specific time, use “at”.

at – list all pending commands
at 0:00 “c:cmd.bat” – run c:cmd.bat at midnight
at 1 /delete – delete job 1
at /delete – delete all jobs

Notes:
The cmd.bat should have an absolute pathname.
The commands in the cmd.bat should reference files with absolute pathnames.

Links:
Windows 2000 Scheduling Service
Using the Schedule Service to automate tasks
Scheduling Jobs
“AT” batch job not running as scheduled
Resource Kit for Windows NT – Winat