[567] in winnt
Re: NT scripting
daemon@ATHENA.MIT.EDU (Chris Meehan)
Thu Oct 5 11:40:17 2000
Message-Id: <200010051539.LAA21504@melbourne-city-street.MIT.EDU>
Date: Thu, 05 Oct 2000 11:39:46 -0400
To: Bryant Christian Vernon <bcvernon@mit.edu>
From: Chris Meehan <cmeehan@MIT.EDU>
Cc: ntpartners@mit.edu
In-Reply-To: <39DC9920.C74FA6A@mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Hi Bryant,
SOON is in the resource kit, and almost works under NT 4.0 & Win 2000.
Below is the help for soon. I think this might be easier than AT because
you can schedule a job to run without knowing the current time.
Later
Chris
---------------------------------------------------------------
SOON : Command Scheduling Utility : by kevina@microsoft.com
---------------------------------------------------------------
Usage : SOON [\\computername] [delay] [/INTERACTIVE] "command"
or : SOON /D [/L:n] [/R:n] [/I:{ON|OFF}]
delay : the number of seconds from now when the scheduled job should start.
/D : modify Default settings and/or display their current values.
/L : set LocalDelay - default delay for Local jobs - initially 5 seconds.
/R : set RemoteDelay - default delay for Remote jobs - initially 15
seconds.
/I : set InteractiveAlways option - initially OFF.
SOON schedules a job to run in the near future, a number of seconds from now.
SOON closely resembles the AT command because SOON simply runs a suitable AT
command. For a details of the other arguments run "AT /?" without the quotes.
Examples : SOON CMD /C C:\JOBS\BATCH.CMD
SOON 10 CMD /C C:\JOBS\BATCH.CMD
SOON \\SERVER 60 /C \JOBS\BATCH.CMD
SOON \\SERVER /INTERACTIVE CMD /C C:\JOBS\BATCH.CMD
SOON /d /l:2 /r:30 /i:on
Current Settings : InteractiveAlways = OFF
LocalDelay (seconds) = 5
RemoteDelay (seconds) = 15
At 11:07 AM 10/5/2000 -0400, you wrote:
>Hi Chris,
>
>What version of Windows are you doing this on? Soon is not a standard
>NT command, so I am not familiar with it.
>
>Thanks,
>Bryant
************************************************************
Chris Meehan
400 Main St. E19-504 Phone (617) 253-7619
Cambridge MA 02139-4307 Fax (617) 258-0650
************************************************************
My mother said, "You won't amount to anything because you
procrastinate."
I said, "Just wait."
---Judy Tenuta