If Job Failed, then Rerun the same job

  • Hi,

    Wish you a Happy New year to Everyone.

    I have one query like if any jobs failed then we have to rerun the same job.

    I would be more happy, if anyone post a script.

    Regards

    Balaji G.

  • In the job itself, add the 1st step as a 2nd step, and configure the first step's failure action to go to the next step, instead of reporting failure.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • Thanks for your prompt response

    Regards

    Balaji G

  • You can also configure the retry-attempts in the advanced tab of the jobstep.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply