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.


zuvefox
2011-03-28T07:49:44Z
hi..
can VisualCron create job notification (ex: send email) if one of job task got error when run task with description which one task error and output error?

example:
Job-A: Task1,Task2,Task3

when job-A run, visualcron will run task on job-A one by one and got result output on task:
Task1: Success
Task2: Error (request timeout)
Task3: Error (request timeout)

I want job send notification( not task send notification ) with contains
task which got error(Task2,Task3) will be list one by one on notification message

with job send notification(not task send notification) will be easier to manage notification
thanx
Sponsor
Forum information
ErikC
2011-03-28T07:57:27Z
Hi zuvefox,

Welcome to the forum!

Yes you can do this, but this can't be a general notification.
Every task has variables containing the output info.
You could create a email notification per job containing the task outputs using these variables.

Regards,
Erik
Uses Visualcron since 2006.
zuvefox
2011-03-28T08:08:07Z
thanks ErikC for your reply.

can email notification per job just contain the task output with error.
so if success run task,that task output not on email notification
example
Task-1 : success
Task-2 : Error
Task-3 : Error
so on notification just contains output from Task-2 and Task-3
Task-3 not on notification because success run task

thanx
ErikC
2011-03-28T08:51:39Z
Hi,

Yes you can do this, but this is not easy to do.
I think you should need some user defined variables and some conditions for this.
The logging tasks will be an overkill of your job.

What I do for logging is the following: File notification 

I also have email notifications on error for critical tasks giving me the active task output and the error.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top