Re: Scheduled tasks won't start
- From: "Pegasus" <I.can@xxxxxxx>
- Date: Wed, 7 Dec 2005 09:22:00 +1100
I suspect you're trying to run this product on a server
even though it may not be meant for a server.
The message
"ERROR: this script needs Windows 2000 or better."
is generated by this line in xdbdown.cmd:
if not "%OS%" == "Windows_NT" goto BADOS
You can prevent it from interfering by modifying the line like so:
rem if not "%OS%" == "Windows_NT" goto BADOS
To identify which line generates the error message
"The system cannot find the file specified.", you must do
a) and b) below:
a) Modify your own batch file like so:
L1 @echo off
L2 path %path%;%SystemRoot%;%SystemRoot%;system32
L3 echo %date% %time% Start of task > c:\test.log
L4 echo User=%UserName%, Path=%path% >> c:\test.log
L5 call "c:\Program Files\xdbdown\xdbdown.cmd" 2>&1 >c:\Symantec.txt
L6 echo ErrorLevel of "c:\Program Files\xdbdown\xdbdown.cmd"=%ErrorLevel% >>
c:\test.log
L7 echo %date% %time% End of task >> c:\test.log
I added L2 because you keep reporting that your path
is blank. This is inappropriate.
Remove the line numbers before running the batch file!
b) Remove the line "echo off" from xdbdown.cmd
You can now schedule the task and look in c:\Symantec.txt for
the string "The system cannot find the file specified".
By the way: The Subject line of this thread is obviously incorrect.
The scheduled task DOES start . . .
"Rafi Hecht" <rhecht@xxxxxxxxx> wrote in message
news:1133904449.595558.45320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> a) Yes
> b) Instructions to automatically download and install the latest virus
> defs from the Symantec website.
>
> Here's the whole code from the cmd file copied/pasted:
.
- Follow-Ups:
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- References:
- Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus \(MVP\)
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus \(MVP\)
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Scheduled tasks won't start
- Prev by Date: Re: defrag do not work
- Next by Date: Re: defrag do not work
- Previous by thread: Re: Scheduled tasks won't start
- Next by thread: Re: Scheduled tasks won't start
- Index(es):
Relevant Pages
|