Community forum

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


TylerMitton
2010-02-02T18:52:02Z
I have a task (Task A) that has a condition. This condition is based on the exit code of another task (Task 😎.

If Task A starts running, while Task B is running, Task A will always run, regardless of the exit code for the last completed run of Task B.

To deal with this, I put a "wait" on the condition, saying if Task B is running, wait 30 seconds. The problem is, I don't want to wait, I want the condition to be based on the last exit code of Task B and that's it.

I'm new to this so I may be missing something. Any help would be fantastic!

Thanks,

Tyler
Sponsor
Forum information
Support
2010-02-02T22:27:37Z
What is happening, when a Task starts, is that Exit code (and some other information is reset to 0). The main reason for this is that interface should be cleared before running.

As you do not like this feature I am moving this thread to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-02T22:50:41Z
Thanks Henrik, can you think of any way around this? So I can get the functionality I need without waiting for a new release. Perhaps some people want it to function the way it is right now, but it seems to me that making a condition based on "the last time it ran" is more helpful than "the last time it run, unless it is running... in which case ignore everything and assume it is successful".
Support
2010-02-04T09:20:47Z
You could add the Condition to check if the Job is running to that exit code condition.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-11T18:18:32Z
Thanks Henrik, that is what I have done. I have it wait 10 seconds if it is running... then it will try again. Not ideal, but it works.
Scroll to Top