Windows NT "at" command
#1
Scooby Regular
Thread Starter
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes
on
0 Posts
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"
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"
#3
Scooby Regular
Thread Starter
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#5
#7
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]
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]
Thread
Thread Starter
Forum
Replies
Last Post
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM