cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2369
Views
0
Helpful
3
Replies

Job Status is Completed Abnormally .

Binu_Cherian
Level 1
Level 1

       Job Command is D:\PSTARDEV_BACKUP\backup.cmd ..           

Output of the Job

                 Total       Copied       Skipped         Mismatch             FAILED              Extras

Dirs :        10413       0              10413             0                          0                         0

Files :       78850    18001         60849             0                          0                         0

Bytes :     3.319 g 1.274 g        2.045 g           0                          0                         0

Times :     1:57:56 1:05:56                                                        0:00:00                 0:52:00

 

Speed : 345883 Bytes/sec.

Speed : 19.791 MegaBytes/min.

Ended : Thu Jan 03 00:55:51 2013

 

Completed at 1/3/2013 12:56 AM

Does any one know  why is status of the job is completed abnormally when actual job is finishing with out any error's..  ?????

3 Replies 3

Marc Clasby
Level 1
Level 1

That looks like Robocopy to me so I think the Extra files has it exit with a non-zero exit code (If my memory serves me right)

Can you give us more information (what is command / params) In job actitivy thestatus page will tell you the exit code and the job definition run tab "tracking section" will tell you how it evalutates the exit code (or alternative)

Marc , Thanks for the Reply ..Job has a Exit Code of 1

Command of the job  is  D:\PSTARDEV_BACKUP\backup.cmd and there is no parameters. It's run on a windows agent.

Tracking Use : Exit Code (normall = 0 to 0 )

gjensen
Level 1
Level 1

Robocopy has numerous exit codes. exit code zero indicates source and destination match and nothing needed copied. Exit codes 0-8 are non-error exit codes depending on what you're trying to do. REF:http://support.microsoft.com/kb/954404

So if you only want to fail on errors, set your successful exit code range 0-8.

But if the destination directory should never have a file that isn't in the source directory, set the exit code 0-1 since exit code 2 indicates files in destination that are not in source location but robocopy doesn't error and still copies files.

Review Cisco Networking for a $25 gift card