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.


michaelhum
2016-03-28T15:17:06Z
Hi,

I am trying to change the job result to "Failed" when a trigger is satisfied.

My job checks for the existence of a file (example file.1).
If file.1 does not exist, then run a task.
If file.1 exists, do not run task and change the job result to "Failed".

I can get the task to run or not run based the trigger (file.1 existing or not existing). This part is working fine. How do I change the job "result" to "Failed" (i.e. display "Failed" at the job level. I haven't been able to figure out how to do it by changing exit code (either at the task or job level).

Thank you,

Michael
Sponsor
Forum information
Support
2016-03-28T22:07:16Z
Only way to control the result of the Task is through the "On error" tab of the Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top