Most Read

Most Read

Setting up Team Discussion Board

SharePoint 2007 has a Team Discussion Board that is used to initiate discussion and get replies on topics of interest. This article outlines the steps required to setup a discussion board, managing...
+ Full Article

More Popular Articles

Recent Articles

Recent Articles

Repeating Excel Header Rows

If your worksheet has several pages, it will be useful to have the header row repeat in all the pages. This will improve productivity as the user need not flip to the first page to view the header...
+ Full Article

More Recent Articles
Schedule using Windows 'At' command PDF Print
User Rating: / 3
PoorBest 
Computing - Windows
The 'At' command in Windows allows you to schedule any program or script to run at a specified time. You can schedule the program to run on specified days of the week at the specified time. This works with the Scheduling service and hence the Schedule service must be running to use the 'At' command.

Setting Up At command

  • Open Service panel and ensure 'Task Scheduler' service is running. If not, start the 'Task Scheduler' and proceed with the below mentioned steps.
  • Select Start > Run and enter cmd in the dialog box.
  • Enter parameters to schedule a program. In the below mentioned example, running the Disk Clean utility every day of the week (Mon thru Fri at 11:45 A.M) is shown. Enter the following at the command prompt: at 11:45 /interactive /every:M,T,W,Th,F "cleanmgr.exe"
C:\Documents and Settings>at 11:45 /interactive /every:M,T,W,Th,F "cleanmgr.exe"

  • In the above box, 11:45 represents the time program is run, interactive allows the job to interact with the user, every:date runs the job on specified day(s). If this parameter is omitted, the job is run at the current day of the month.
  • Enter at /? at the command prompt to get a list of arguments for the 'At' command
C:\Documents and Settings>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.


View Scheduled Programs

Enter at to view the scheduled programs as shown below.


C:\Documents and Settings>at
Status ID Day Time Command Line
---------------------------------------------------------------------------------
1 Each M T W Th F 11:15 AM notepad.exe
2 Each M T W Th F 11:45 AM cleanmgr.exe

Deleting Schedule

Enter <id> /delete to delete schedule relating to the specified id. If id is omitted, it deletes all the scheduled programs.

C:\Documents and Settings>at 1 /delete

 


 

Trackback(0)
Comments (0)add
Write comment

security image
Write the displayed characters


busy
Last Updated on Wednesday, 21 November 2007 19:26
 

now browsing!

We have 20 guests online

Training

UPK Training

UPK Developer Training Course Description  Overview Understanding Developer menu and toolbar itemsSetting Developer PreferencesManaging FoldersManaging DocumentsCreating Views
+ Full Article

More on Training

Featured

Windows XP Password Reset Disk

What do you do if you do not remember the password in your Home PC. At work, you can request the Help Desk or Administrator to reset the password. For your Home PC you can create a Password Reset...
+ Full Article

More Featured Articles

Sharepoint

Create a custom New Item or Edit Form

One of the intriguing aspects of the NewForm.aspx or EditForm.aspx in Sharepoint 2007 is that the fields are not displayed and hence not editable. For instance, you may wish to selectively hide...
+ Full Article

More on Sharepoint

Windows

Windows Task Bar Docking

By default the Windows taskbar is docked on the bottom portion of the Desktop. You can move it either to the left, top, or right regions by following the steps below. Click the region next to the...
+ Full Article

More on Windows
 

Sedo - Buy and Sell Domain Names and Websites project info: referpages.com Statistics for project referpages.com etracker® web controlling instead of log file analysis