Schedule tasks Last Result 0x2

  • Thread starter Thread starter CarynCondon
  • Start date Start date
C

CarynCondon

Hi, we are trying to run a perl script through Win2k scheduled tasks (daily
at 10pm) and suddenly receive a "Last result code" of 0x2. This task has
been working fine for months until this weekend. I can not find a listing of
what code 0x2 means, does anyone have a suggestion on what it indicates or
where I can find out?

We have not made any changes or applied patches or sp's to the server
recently so I don't believe that to be the cause.

Any suggestions or help would be greatly appreciated.

-Caryn
 
CarynCondon said:
Hi, we are trying to run a perl script through Win2k scheduled tasks (daily
at 10pm) and suddenly receive a "Last result code" of 0x2. This task has
been working fine for months until this weekend. I can not find a listing of
what code 0x2 means, does anyone have a suggestion on what it indicates or
where I can find out?

We have not made any changes or applied patches or sp's to the server
recently so I don't believe that to be the cause.

Any suggestions or help would be greatly appreciated.

-Caryn
The result code is from your script, not from the Task Scheduler. Task
Scheduler is just passing thru the returncode from the script. You need to
find what 0x2 means in your script.
 
CarynCondon said:
Hi, we are trying to run a perl script through Win2k scheduled tasks (daily
at 10pm) and suddenly receive a "Last result code" of 0x2. This task has
been working fine for months until this weekend. I can not find a listing of
what code 0x2 means, does anyone have a suggestion on what it indicates or
where I can find out?

We have not made any changes or applied patches or sp's to the server
recently so I don't believe that to be the cause.

Any suggestions or help would be greatly appreciated.

-Caryn

If you used the normal Perl practice of allowing "die" to echo
out the system messages, then error 2 translates to
"file not found"

your script is expecting a file that is no longer there.

hth,
tlviewer
 
Thanks for the feedback tlviewer and Colon. I will pass this information
along to the guy who wrote the script.
 
Back
Top