Schedule tasks Last Result 0x2

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
 
C

Colon Terminus

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.
 
T

tlviewer

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
 
C

CarynCondon

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top