I have a cyclic job that checks the availability of my database every 30 mins.
My requirement is once the jobs fails (means the DB is not avaialble) It should not check the DB again till it comes up. ( here I am tryin to avoid the redundent alerts). Once the DB comes up then it should resume its monitoring. Is there a workaround possible?
Cyclic job issue
You can:
a1. put a condition on the first ciclic job that there is always
when the jobs fails:
+ do condition - delete the in condition of the job
+ do force a second ciclic job that check the availability (like a ping).
a2. when the second see that the db is available: stop this second cyclic job and do condition + to start again the second job
This if the fail of the first job is infrequent.
If the notok is frequent: define and schedule the two jobs and play only with add and delete condition on all two jobs.
Hope that this can help you, regards
a1. put a condition on the first ciclic job that there is always
when the jobs fails:
+ do condition - delete the in condition of the job
+ do force a second ciclic job that check the availability (like a ping).
a2. when the second see that the db is available: stop this second cyclic job and do condition + to start again the second job
This if the fail of the first job is infrequent.
If the notok is frequent: define and schedule the two jobs and play only with add and delete condition on all two jobs.
Hope that this can help you, regards
If you are jobless in USA than I have a good option for you. This is the list of jobs, you can find according to you.
most popular jobs
most popular jobs
Add retry logic on the job
Please add the retry logic to the cyclic job through steps tab, so that the job will monitor the DB for every schedule time and will monitor as usual when it is online.
Thanks,
Devendra.
Thanks,
Devendra.