Skip to Content
author's profile photo Former Member
Former Member

Periodic job to run only after the predecessor completed

Hi All

I want to schedule a job which runs periodically every 30 min.But I have a constraint where in two jobs should not run parallelly.So if the first job runs more than 30 min then the second job will get effected.

So for this requirement, successive job should wait till the previous job finishes and start only after the previos one gets completed.

Is there any way I can schedule a periodic job like this?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 05, 2014 at 04:03 PM

    Hi Avinash,

    This may be achieved by creating a job with two steps . The approach can be like below :-

    1. In step1 : Predecessor program

    2. In step2 : Second program

    You may use program RSBTONEJOB2 to schedule the job which has two steps. This program will make sure that only one active instance of that particular job is running.

    Please go through the below link


    Always Learner

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.