Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Mail Alert for Cancelling, Killing, Post Running Status without Alerting Module

$
0
0

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.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>