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.


Guest
2012-02-23T17:17:26Z
I recently purchased a license for Visual Cron and have been playing around with how the email notification works for jobs that fail.

The problem is I seem to be gettting the error notification email even when the job completes successfully.

My job settings are as follows:

Error tab - I have all errors selected

Notification tab - I have only "notify on error" checked

Message/body tab -

{TASK(8e39ef30-42b3-4f0f-8628-92d3359083a7,StdOut)}

{TASK(8e39ef30-42b3-4f0f-8628-92d3359083a7,LogonType)}

{TASK(8e39ef30-42b3-4f0f-8628-92d3359083a7,Credential.String)}

{USER(Name)}

When the job runs, I get a result of success, and an exit code of 0, yet I still get the error notification email.

Additionally, when I edit the script I am executing and add an intentional error, I find that I get two copies of the error notification email.

Any assistance you can provide would be appreciated.

Thanks,

Bob
Sponsor
Forum information
Support
2012-02-23T17:43:04Z
Your probably have the Notifications checked at both Job and Task level.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Guest
2012-02-23T17:49:05Z
I just realized there are two Notifications tabs, one for the job and one for the task. I had notify on complete for one, and notify on error for the other.

Generally speaking, in a scenario where the job is executing a simple script, where is it most appropriate to setup the notification? At the job level, or at the task level? Just not sure I am understanding the differences and when to use which one.

Thanks,

Bob
Support
2012-02-23T17:52:26Z
Most use Notifications at Job level but there might be situations where you want reports at Task level.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top