Solved

Help with Scheduled Task Result Codes

Posted on 2004-04-28
3
17,917 Views
Last Modified: 2011-08-18

I'm trying to troubleshoot some scheduled tasks that have been failing here as of late.  The Scheduled Tasks tool lists the run times as well as the last result code in a column called Last Result and I'm trying to decipher them.

I found the following three descriptions at :
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q308558

0x0: The operation completed successfully.
0x1: An incorrect function was called or an unknown function was called.
0xa: The environment is incorrect.

But I'm seeing additional result codes such as 0x80 and 0xff and 0x2

Anyone have a list of result codes or know where one is?  ... I'm all Googled out.

Thanks,
-Brian
0
Comment
Question by:brianadkins
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:tim_mcgue
ID: 10941889
Hi brianadkins,

The result codes are not a result of the task scheduler but the application itself.  Find a copy of winerror.h (you might have it on your local system).  It will have what you are looking for.

Tim McGue
0
 
LVL 5

Author Comment

by:brianadkins
ID: 10941966

OK... but my scheduled task involves a batch file which fires of multiple applications over a period of hours.

Would the result code be for the batch file, or for whichever application actually bombed?

Thanks for any tips...

-Brian
0
 
LVL 3

Accepted Solution

by:
tim_mcgue earned 500 total points
ID: 10942015
brianadkins,

Yes, the error result code would be from your failing application.  If you want to go old school you could run each command of your batch from a command line and echo out %ERRORLEVEL% to see the result code reported there too.

Tim
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server 2003 DNS service disables and shutsdown on Domain Controllers 6 300
Application Deployment - Simple 7 659
Windows timing on domain Pcs 4 459
Building AD from Scratch 5 145
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question