Looping SQL Agent Job

  • What is the best way to continually loop a SQL Server Agent Job? I could set it to loop back to Step 1 as the last step. The issue with this would be that if the server was rebooted it would not auto start. Also if it stopped running how would I know. As well I have no requirement for this to run overnight.  This is on a data import job set to every 10 minutes but I am wanting to tighten up on the timings.

    Any thoughts ??

  • Simply increase the frequency to every minute. The job won't kick off again if it is already running, if you know what I mean.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Yes I was thinking that driving home last night thanks for your backup to that.  Makes the whole thing more manageable with schedules.

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

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