Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


George Mohr
2013-10-03T12:19:11Z
Hi VC,

I have a question about the console job status. If I have an "Execute" task that runs a console app, and that app returns a non-zero return code, the task fails (as it should). My question is, why do I not get the actual return code in the Exit Code field? Instead, I get "7777" regardless what negative value I return.

Edit: I should mention that this happens with only negative values, including -1, which is configured as a default Windows Exit Code called "Aborted". Positive values do show up in the console.

Thanks!
George
Sponsor
Forum information
Support
2013-10-03T19:33:42Z
I depends on the error. By default, 0 is success. Windows exit codes have a specific range, normally 1 to 50000. If it is outside of that range you will get a VisualCron specific error as we cannot identify the Windows exit code.

Do you know which exit code and error you get?

You can also modify the default exit code collection and add your own errors in the On error tab.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
George Mohr
2013-10-03T19:52:28Z
Originally Posted by: Support 

I depends on the error. By default, 0 is success. Windows exit codes have a specific range, normally 1 to 50000. If it is outside of that range you will get a VisualCron specific error as we cannot identify the Windows exit code.

Do you know which exit code and error you get?

You can also modify the default exit code collection and add your own errors in the On error tab.



Hi Henrik,

I'm returning a -1, but I get a 7777 in the Exit Code. Since -1 is defined in the windows return code set, I expected to see that instead of 7777. Any positive value I return does show up in the console properly.

Thanks!
George
Support
2013-10-04T12:24:51Z
Where do you see the explanation for exit code -1? Do you have any special reference site for this? Symantec is listing the exit codes here and I cannot find -1:

http://www.symantec.com/...s-exit-codes-description 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
George Mohr
2013-10-04T12:45:16Z
Originally Posted by: Support 

Where do you see the explanation for exit code -1? Do you have any special reference site for this? Symantec is listing the exit codes here and I cannot find -1:

http://www.symantec.com/...s-exit-codes-description 



Hi Henrik,

Clicking through the VC Admin console, Click settings, on first page is a button for Exit Codes.

Regards,
G
Support
2013-10-04T19:19:09Z
True, this is for setting your own exit code handling (to override the default Windows exit codes). However, the default Windows exit codes does not contain any negative exit code.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top