Making SQL Agent re-execute job upon failure

  • Hi,

    I have a job that fails every now and then because of the system timing out due to various reasons. I'm looking for a way to make the job re-run itself automatically if it fails. What is the best way to accomplish this>?

    TIA

  • You can go to the advanced tab for the given step in the Agent job and tell it to retry a set number of times.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 2 posts - 1 through 2 (of 2 total)

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