INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

How to Set Scheduler Job to Failed from Chain

How to Set Scheduler Job to Failed from Chain

(OP)
I have several chained events that run daily procedures, some twice a day, some once a day. On the job itself I have it set to raise events on failed and broken jobs, but I can't seem to get the job marked as failed.

I have the chain run through and while each item is independent of the other so the rule is set that when S1 completed then start S2 but I want at the end that if any of the programs failed, I want the scheduled job itself marked as failed so it will email me so I know to go fix a specifc issue.

Or is there a way to create an event schedule that ANY chain can call and again will tell us what the issue is?

The reason for the chains is that we have lots of jobs that run every day. The jobs need to run one after another but sometimes they don't always run in the same length of time, so to make sure they never run at the same time, we chain them. The chains work great, I'm just lost on how to handle error handling for the chains.

RE: How to Set Scheduler Job to Failed from Chain

You may utilize Advanced Queuing and execute the real piece ow work only on receiving event from previous successfully completed job.
The same way you may implement problem notification etc.

Another (actually almost the same) idea is to use separate application for orchestrating your jobs. Or to use any existing [free] workflow engine. The drawback is that you'll get one more separate component in your system/

Regards, Dima
http://seminihin.narod.ru

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close