ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Windows NT "at" command (https://www.scoobynet.com/computer-and-technology-related-34/219280-windows-nt-at-command.html)

Kevin Mc 12 June 2003 03:16 PM

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"


IWatkins 12 June 2003 03:19 PM

S = Saturday
Su = Sunday

From memory. ;)

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

Cheers

Ian

Kevin Mc 12 June 2003 03:22 PM

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 :)

ADP 12 June 2003 03:24 PM

:D

ChrisB 12 June 2003 03:26 PM

Using WinAT can be much easier:

http://www.answermonkey.net/App_WinAT.htm

Kevin Mc 12 June 2003 03:32 PM

Thanks for the link Chris :)

ADP 06 December 2003 03:19 PM

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]


All times are GMT +1. The time now is 11:23 PM.


© 2024 MH Sub I, LLC dba Internet Brands