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.


Dominic_WFI
2011-11-14T03:03:09Z
Hi - Anyone know how to set the Notification that that confirms a job has completed to only be sent when no error has occurred?
At the moment, when one of our jobs fail, an error notification is produced but the Completion notification is also generated.
Ideally, I'd like for there to be a notification that indicates Successful Completion.

Any suggestions would be appreciated.
Thanks
Dominic
Sponsor
Forum information
Support
2011-11-14T08:08:30Z
In your case you could add an email Task in the end of the Job. That will only be run if the rest is successful.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Dominic_WFI
2011-11-14T09:35:43Z
So if my job currently has one Execute task, I should just add a second task which will automatically follow if specific conditions are met.
In this case, the first task has completed without an error.
I've not used the Conditions tab before but I'm guessing it might allow it to be determined if the first task has completed and whether there has been an error.
Under Add/Edit conditions, I can see there is a VisualCron condition type.
I'm on the right track?
Support
2011-11-14T21:17:00Z
You don't need to create any Condition. Just add an email Task after the Execute Task. This email Task will, with default settings, only run when the first Execute Task has succeeded.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Dominic_WFI
2011-11-15T08:19:18Z
I have set up an email Task that uses a Condition to confirm the preceding Task ran with an Exit Code = 0. (Assuming 0 means no error)
I couldn't see a way to only run the new email task when the preceding task was genuinely successful without using a Condition.

What I have set up seems to work.

Regards
Dominic


Scroll to Top