We started using Visual Cron with version 6. I created a generic "something went wrong" email notification as follows:
"{JOB(Active|Name)}" failed on {DATEFORMAT(M/d/yyyy)} at {DATEFORMAT(h:mm tt)}!
Job Description: {JOB(Active|Desc)}
Failed Task: {TASK(Active,Name)}
Task Type: {TASK(Active,Type)}
Exit Code: {TASK(Active,ExitCodeDesc)} ({TASK(Active,ExitCode)})
Output Text: {TASK(Active,StdOut)}
Error Text: {TASK(Active,StdErr)}
It worked great. Whenever there was a failure, all the pertinent information was passed on, and I could reuse the same notification for all jobs.
Then, we installed version 7, and now all our notifications look something like this:
"Ping Machines Used for Remote Access" failed on 4/10/2014 at 5:30 PM!
Job Description: Check to make sure machines that are needed for remote access in the event of an ice day or other emergency are up and running.
Failed Task: VisualCron Job Failure
Task Type: Email
Exit Code: The operation completed successfully. (0)
Output Text:
Error Text:
Note: "VisualCron Job Failure" is the name of the email notification.
So, with version 7, the "Active" task is the email notification, so we're not getting any useful information in the email. Ideas?
Edited by moderator
2014-04-15T06:18:05Z
|
Reason: Not specified