Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Windows NT "at" command

Thread Tools
 
Search this Thread
 
Old 12 June 2003, 03:16 PM
  #1  
Kevin Mc
Scooby Regular
Thread Starter
 
Kevin Mc's Avatar
 
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes on 0 Posts
Question

Want to run an "at" command, though have never run one for the weekend - anyone know what the abbreviations are for Saturday and Sunday?

eg:

at 18:00 /every:m,t,w,th,f "e:\dumps\fw\export_prod.cmd"
at 19:00 /every:m,t,w,th,f "c:\orant\script\stopprod.cmd"
at 06:00 /every:m,t,w,th,f "c:\orant\script\startprod.cmd"

Old 12 June 2003, 03:19 PM
  #2  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
Post

S = Saturday
Su = Sunday

From memory.

I think you can use "every" for all days as well.

Cheers

Ian
Old 12 June 2003, 03:22 PM
  #3  
Kevin Mc
Scooby Regular
Thread Starter
 
Kevin Mc's Avatar
 
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Cheers for that - using the full Saturday and Sunday worked.

at cam back with:

Status ID Day Time Command Line
-------------------------------------------------------------------------------
1 Each M T W Th F S Su 18:00 PM e:\dumps\fw\export_agrprod.cmd

2 Each M T W Th F 19:00 PM c:\orant\script\stopagr.cmd
3 Each M T W Th F 06:00 AM c:\orant\script\startagr.cmd


So Ian was right too!

Thanks again
Old 12 June 2003, 03:24 PM
  #4  
ADP
Scooby Regular
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Post

Old 12 June 2003, 03:26 PM
  #5  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Post

Using WinAT can be much easier:

http://www.answermonkey.net/App_WinAT.htm
Old 12 June 2003, 03:32 PM
  #6  
Kevin Mc
Scooby Regular
Thread Starter
 
Kevin Mc's Avatar
 
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Thanks for the link Chris
Old 06 December 2003, 03:19 PM
  #7  
ADP
Scooby Regular
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Post

Examples:
Show directory listing (of \WINNT\SYSTEM32) every day at 9:39 PM:

AT \\MYOWNSERVER 21:39 /INTERACTIVE /EVERY:M,T,W,Th,F,S,Su CMD /C DIR


Run a backup program (no user interaction) every Saturday at 9:00 PM:

AT \\SERVER 21:00 /EVERY:S CMD /C "C:\Program Files\Tape\TapeBackup.cmd"




[Edited by ADP - 6/12/2003 3:20:59 PM]
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: Windows NT "at" command



All times are GMT +1. The time now is 05:22 AM.