Add log file to notification - VisualCron - Forum

Community forum

jsteil
2011-04-06T15:21:23Z
Hi - I have a notification defined that notifies me if a any task fails in a job. What I'd like to do is to include the error log in the notification email when this happens. Is that possible?
Support
2011-04-06T15:30:52Z
Try using the error output Variable:

{TASK(Active,StdErr)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jsteil
2011-04-06T16:16:08Z
Thanks Henrik - Looking at what you have there, then it also appears that I could have my notification attached at the task level and show the name of the task as well as the error. I didn't see this in the available variables list when setting up the notification. Is there a list somewhere of the available 'ACTIVE TASK' variables that could be inserted into my email notification?
Support
2011-04-06T17:11:26Z
You can replace the Id with Active in any Task Variable.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jsteil
2011-04-06T22:30:11Z
That is perfect, thanks for the tip!
Scroll to Top