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.


vanram
2012-01-26T01:07:25Z
Please could we have a better default message in email notification when a job or step fails. Please could it contain context: Name of Server running Job, name of job and if possible name of step that failed.
Sponsor
Forum information
ErikC
2012-01-26T09:18:19Z
Hi vanram,

You could do this by an email notification on your tasks (notify on error).
Have the mail body like this:

There is a problem with:
Job:  {JOB(Active,Name)}
Info: {JOB(Active,Desc)}

Task: {TASK(Active,Name)}
Output:
{TASK(Active,StdOut)}

Error output:
{TASK(Active,StdErr)}


Regards,
Erik
Uses Visualcron since 2006.
vanram
2012-01-27T02:52:40Z
Eric - I apreciate the information and I will use it.

Do you agree that this is a better and more useful default than just a generic message that some something failed?

Thanks
Support
2012-01-27T08:59:23Z
Hello vanram,

we can't just add all information everywhere. A Job and a Task provide multiple layers of information. Information that is related to the specific object is stored in that specific object. We want to keep objects as clean as possible, both to make debugging and reading easier but also to save space.

For example, at Job level we only want to tell if it failed or not. If a specific Task failed and have some specific output it may not be related to the Job failure. In this case the Task output will be confusing. If we have several Tasks, then which Task output should we store?

Also, bare in mind that some users have output of several MB. Copying this information between objects is a waste of space.

There is also a huge difference, between each user, what information they want and where.

For the above reasons, we have provided tools like Variables so you can create your own specific Notifications. Also, Notifications are global so if you have found a format you like you can re-use the information.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top