Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Scheduled Job Last Result code

Posted on 2014-09-25
3
Medium Priority
?
787 Views
Last Modified: 2014-09-26
I have a Windows 2k8R2 server that I have a couple of scheduled tasks on.  The job in question runs and completes successfully, however when observed, the Last Run Results indicates a 0x7 instead of a job completed successfully (0x0) notification.  I am interested in identifying what this code is and have not been able to find anything on either the Microsoft Web site or the net in general.  The only reference to this code that I found was either to the day of the week, Saturday which the task is not run on, or a low disk alert on a disk defrag scheduled job which this is not.  

If someone could help me figure this one out I would appreciate it.
0
Comment
Question by:Campbelldw
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
footech earned 1500 total points
ID: 40344666
The result comes from the program that was executed by the scheduled task, so it's all up to that program what result codes it returns.  For instance, if a task runs a .BAT file that just runs Robocopy, the result code will be from Robocopy.  Hopefully the developer of the app publishes some information about the result codes returned by their program.
0
 
LVL 41

Expert Comment

by:footech
ID: 40344811
Can I ask what was lacking in my response to merit a "B" grade?
0
 

Author Comment

by:Campbelldw
ID: 40345960
Error on my part.  Clicked wrong button.  Your answer is good and has lead me down the path needed.  Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

824 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