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.


ronmichael
2013-10-16T13:48:47Z
I used to have my failure notifications defined on the task so that I could easily include the stderr and stdout in the email notifications for failure. But I'm switching to putting the notifications at the job level because I want to start enable retries at the task level.

The problem I have is that it seems like I can no longer use a single generic notification for most of my tasks. There appears to be no way in a job level error notification to grab all of the stderr and stdout from any tasks in the job like this:

{TASK(Active,StdErr)}
{TASK(Active,StdOut)}

I have to create a new notification and explicitly grab the stderr and stdout from the task like this:

{TASK(d57fad90-f6ff-46e9-bf6d-851505f2a954,StdErr)}
{TASK(d57fad90-f6ff-46e9-bf6d-851505f2a954,StdOut)}

This is obviously creates a lot more work in setting up and managing the notifications as each job will require a custom notification.

Is there any way around this? Am I missing something?
Sponsor
Forum information
ronmichael
2013-10-16T13:52:48Z
Never mind... this is what I was looking for!

{TASK(PrevTask,Name)}
{TASK(PrevTask,Result)}
{TASK(PrevTask,StdOut)}
{TASK(PrevTask,StdErr)}
Scroll to Top