Computing.Net > Forums > Disk Operating System > How to use the AT command

How to use the AT command

Reply to Message Icon

Original Message
Name: Jacques
Date: August 9, 2002 at 13:20:06 Pacific
Subject: How to use the AT command
Comment:

I'm trying to use the AT command but I'm a little difficuty. I wanna set the date and the time.
I'm running NT4.0
Please help


Report Offensive Message For Removal

Response Number 1
Name: Secret_Doom
Date: August 9, 2002 at 17:30:02 Pacific
Subject: How to use the AT command
Reply: (edit)

Type "AT/?" to get a help screen.

Let's say you want to execute the application C:\WINDOWS\SYSTEM32\DEFRAG.EXE every Monday at 21:40 (9:40PM). You would do:

AT 21:40 /every:Monday "C:\WINDOWS\SYSTEM32\DEFRAG.EXE"

Or maybe you want that program to be executed every day 1st of the month, at 00:01

AT 00:01 /every:1 "C:\WINDOWS\SYSTEM32\DEFRAG.EXE"

Another one: let's say you want the task to be executed on August 15th (the task will only be executed once), at noon (12:00).

AT 12:00 /next:15 "C:\WINDOWS\SYSTEM32\DEFRAG.EXE"

Type AT to get the currently scheduled tasks. Each task has a numeric ID, which you can use to delete a particular task:

AT id /DELETE
e.g.: AT 01 /DELETE

I just couldn't figure out how to schedule tasks to be run further on other months, on Dec 25th, for instance.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: How to use the AT command

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software