New servers on ver: 9.6.0. Problem setting up email notifications - VisualCron - Forum

Community forum

RickHolc
2021-03-04T17:22:46Z
I am setting up new servers on ver: 9.6.0.
I have moved a couple jobs from an old VC server and a couple JAMS servers. I am having problems replicating what I had in the past. I want email notifications to go out that contain information on why the task inside the job failed. For JAMS we just attached the log file when this happened. I am not sure which way to attack this problem with VC. Here are my questions:
1.) Can each job have a contact person and can that information be stored in a variable that is used by the Email-Notification I have setup at the server level? Here is what I tried but it doesn't seem to work:
image.png
2.) Can the stdErr and stdOut be included in the email if the task fails? If so do you do this in the text field of the email or as an attachment?

Thanks for any help on this matter.

RickH

Support
2021-03-08T12:50:31Z
Originally Posted by: RickHolc 

I am setting up new servers on ver: 9.6.0.
I have moved a couple jobs from an old VC server and a couple JAMS servers. I am having problems replicating what I had in the past. I want email notifications to go out that contain information on why the task inside the job failed. For JAMS we just attached the log file when this happened. I am not sure which way to attack this problem with VC. Here are my questions:
1.) Can each job have a contact person and can that information be stored in a variable that is used by the Email-Notification I have setup at the server level? Here is what I tried but it doesn't seem to work:
image.png
2.) Can the stdErr and stdOut be included in the email if the task fails? If so do you do this in the text field of the email or as an attachment?

Thanks for any help on this matter.

RickH



Hi RickH - please send an email to support@visualcron.com and include how you want it/refer to this thread, and also explain how it doesnt work/which variable doesn't work and what the result is etc.

Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
bweston
2021-03-11T14:26:38Z
Unless something has changed since 9.3.5 in a way I think is improbable:

1. USERVAR is server-level; you may be looking for job variables
2. I tried to do something like this once and didn't come up with a good way to keep from getting ugly errors if a job didn't have the expected job variable set up...doesn't mean there isn't a way, I just ran out of time/patience without finding one.
RickHolc
2021-03-11T18:25:00Z
For now, I just cloned the notification I built and renamed it for each team we have and modified the email addresses to send to.
Now I have:
image.png
Will get messy as I add more teams but it works.
In the old scheduling program, jobs had a notification variable (but they only supported email notifications) and each job could be setup with a list of email addresses or the folder that contained the jobs could have an email list setup in it and it would trickle into the job. All you had to do is send notification on failure and it would use that list.
Thanks for all the input,
RickH
Support
2021-03-15T12:33:48Z
Originally Posted by: RickHolc 

For now, I just cloned the notification I built and renamed it for each team we have and modified the email addresses to send to.
Now I have:
image.png
Will get messy as I add more teams but it works.
In the old scheduling program, jobs had a notification variable (but they only supported email notifications) and each job could be setup with a list of email addresses or the folder that contained the jobs could have an email list setup in it and it would trickle into the job. All you had to do is send notification on failure and it would use that list.
Thanks for all the input,
RickH



Thanks for the feedback. This is a feature request but i've let our developers know. We will let you know once we have this feature available.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top