SQL server jobs are starting even when they are disabled.

  • I have restored the msdb backup from production into the test environment. After restoring msdb I disabled all the jobs by executing:

    UPDATE msdb.dbo.sysjobs

    SET originating_server=@@servername, enabled=0

    Still the jobs started on schedule.

    Then I disabled all the job schedule by using the below query:

    UPDATE msdb.dbo.sysjobschedules

    SET enabled=0

    Still the jobs started on schedule.

    There are no DTS packages that can kick start the jobs.

    Please help me resolve this issue.

    Thanks in advance.

  • I think your agent cache is not in synch with msdb database. Can you please restart the sql server agent.

  • If you don't want any of the jobs to run, just stop the agent.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

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

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