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


rikh
  •  rikh
  • Free support Topic Starter
2015-02-03T12:53:07Z
Hello,

I'm wondering if this is expected behaviour: the "Exit code" of a task changes to "0" aka succesfull the moment it starts running. this means that if we monitor for failures, for tasks runs every hour, that based on the exist code changes from Failure to success for no reason (it never runs succesfully, even though the Task status does indicate it for a while?)
Server version is 7.1.9

Wouldn't it be more logical that an exit code is either unchanged untill the tasks actually exits, or that there is a specific exit code for when a taks is still running?

Now we don't know if it's really succesfull, or just still busy working towards failure...

All input very much appreciated!
Rik
Sponsor
Forum information
Support
2015-02-05T12:49:58Z
I see what you mean and that is indeed the behavior. That we reset status while running. I see a couple of options for you:

1. you monitor for completed Tasks or Jobs instead, and get notified when the actually fail instead of each hour
2. when you monitor you exclude those that are running at them moment
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rikh
  •  rikh
  • Free support Topic Starter
2015-02-05T12:56:16Z
Thanks for the input, now i know that it's not a bug but a design choice i guess we'll work around it as you mention in option 2.
Scroll to Top