Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Where can I find the meaning of 0xff in the scheduled task last result field?

share|improve this question

3 Answers 3

Of course, sometimes you will have to check the command documentations for errors from specific commands.

But with whatever information I know, I have explained the same as given below :-

The return codes are in hexadecimal. You can convert them to decimal with a hex mode calculator or if you are using NT/W2k/XP, by using "set /a 0xff" or by simple multiplication.

Multiply the second last number by 16 and add the last number where A-F represents decimal 10-15 e.g. 0xB3 = 11*16+3 = 179.

0x0 = 0 = no error 0xff = 255 = More than 154 files failed to copy or ^C batch exit or possibly scheduled task failed to run. 0x68 = 104 = 4 files failed to copy 0x67 = 103 = 3 files failed to copy etc, etc,.

Hemant

share|improve this answer

In my case the last result in my scheduled task is 0xff = 255, but I reviewed the task and I can't see any errors or posible problems with copy files. The task is running every 10 minutes (java -jar -cp . TaskXXX.jar) and in this case I see in the DB SQL 2005 the files are written.

share|improve this answer

When a proccess exits it always returns a result or exit code. You typically don't ever see this code, however in the case of a scheduled task it can be very useful. Often time it can indicate and error or describe whey the application exited. Typically a successful or expected exit code is 0. You will need to consult the particular application's documentation in order to determine the meaning of your given exit code, however it likely means an error occurred.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.