Scheduling with the AT Command

windows XPIf you need a task to be automatically scheduled to run, without human intervention (eg. backups etc.) then you can use the AT Command.  This article will help you to get started.


Create an AT job

Start by by creating your first AT job.

  1. Go to Start > Run.
  2. Enter cmd and press return.
  3. In the Command Prompt window, type the following...

at 01:00 /every:M,T,W,Th,F,S,Su C:\backup.bat

This will create a scheduled task with a unique ID, to run the backup.bat file on your C: drive every day at 1am.

 

Check existing AT jobs

Now that you've created at least one AT job, you can check its status.

  1. Go to Start > Run.
  2. Enter cmd and press return.
  3. In the Command Prompt window, simply type the following...

at

 This will give a summary list of any current AT jobs

 

Delete an AT job

If you need to cancel a scheduled task do the following...

  1. Go to Start > Run.
  2. Enter cmd and press return.
  3. In the Command Prompt window, enter the following...

at id /delete

Where id is the id number for the scheduled AT task that you want to cancel.

 

Remote Server Access

You can also configure the AT service on remote servers using the following syntax

  1. Go to Start > Run.
  2. Enter cmd and press return.
  3. In the Command Prompt window, enter the following...

at \\hostname

 

Thanks for visiting.