COMMAND
Schedule
SYSTEMS AFFECTED
WinNT
PROBLEM
Rob Aldridge discovered a nasty bug in the AT command / Schedule
service. In a command file he has a "continuation character" --
a carry-over from my VAX/DCL background -- on the AT command line,
like this:
AT 21:48:00 /every:M,T,W,Th,F -
F:\TEST\RUNJOB.CMD > RUNJOB.OUT
This "continuation character" is of course illegal at the NT
command line. But what did happen is that a job named "-"
(hyphen) became infinitely scheduled on the NT system. Within
seconds, you will have hundreds of scheduled jobs to run the
command "-" (hyphen).
Stopping the Schedule service, will help for a moment, but what
to do with the thousands of bogus Schedule entries? Manual
deletion using REGEDT32 would have taken a long time! One of the
problems working against you is that the Schedule service cannot
be started without actually running the submitted jobs.
SOLUTION
Dirty fix is to kill Schedule service from running, delete it him
and then add the service back to the system.