on 04-20-2016 11:49 AM
Hi All,
I am new to Redwood and here are the details of Redwood we are using.
Build M33.92-68971 and we dont have Alerting module.
We have a requirement that for some jobs if they are in post running/killing/cancelling/running for more than 15 minutes, we have to send email alert.
Here is what I have thought of:
1. Create a raise event for the job A to be notified and raise a custom job.
2. Custom job will also start running the moment job A is running.
3. Get the jobid from event and get the run time from the job table.
4. In Job A check if runtime > 15 minutes, then send a mail.
In step 4 how could I trigger a mail? I am not sure how could I do that
This custom job will be like a template so that it can used for more jobs.
I read through previous posts but could not really get the logic.
please advice and any help is highly appreciated.
Thanks,
Kasyap.
This is not a good design, first thing is you are adding unnecessary load to the system. If there are 5000 jobs running in an hour, you will be adding 5000 more jobs to monitor them and 5000 more to send an email. You will be running 3 times the load on the system.
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.