SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Agent skipping job runs?


SQL Agent skipping job runs?

Author
Message
Wesley Brown
Wesley Brown
SSC Eights!
SSC Eights! (945 reputation)

Group: Moderators
Points: 945 Visits: 437
Hello all,

I've got a weird one. It appears that I have had the SQL Agent just skip running a scheduled job task. No failure no job stuck executing just flat skipped it.

I did ask the mighty google but didn't see anything that resembled the problem.

Has anyone else had an issue with SQL 2005 skipping jobs like this?

Thanks,
Wes

http://www.sqlserverio.com
http://www.cactuss.org
http://www.salssa.org
DBA in Unit 7
DBA in Unit 7
Old Hand
Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)Old Hand (363 reputation)

Group: General Forum Members
Points: 363 Visits: 1124
I've had this once and not figured out why.

Things you might want to check: Job enabled? Job schedule enabled? Job schedule starting time and ending time; windows time service, task scheduler service..
Wesley Brown
Wesley Brown
SSC Eights!
SSC Eights! (945 reputation)

Group: Moderators
Points: 945 Visits: 437
Yeah,

I walked through all of it and so did someone else just to make sure I didn't miss something.
I hate writing a monitor for all the jobs on all the servers because they may not execute period.

http://www.sqlserverio.com
http://www.cactuss.org
http://www.salssa.org
Paresh Prajapati
Paresh Prajapati
Right there with Babe
Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)Right there with Babe (779 reputation)

Group: General Forum Members
Points: 779 Visits: 464
Wesley Brown (1/5/2009)
Hello all,

I've got a weird one. It appears that I have had the SQL Agent just skip running a scheduled job task. No failure no job stuck executing just flat skipped it.

I did ask the mighty google but didn't see anything that resembled the problem.

Has anyone else had an issue with SQL 2005 skipping jobs like this?

Thanks,
Wes


Please check SQL job owner has a access on that step code or not?

_____________________________________________________________________________________________________________
Paresh Prajapati
Arrow +919924626601
http://paresh-sqldba.blogspot.com/
LinkedIn | Tweet Me | FaceBook | Brijj
Ignacio A. Salom Rangel
Ignacio A. Salom Rangel
Hall of Fame
Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)

Group: General Forum Members
Points: 3992 Visits: 1439
Did you find out what the problem was?




My blog

Wesley Brown
Wesley Brown
SSC Eights!
SSC Eights! (945 reputation)

Group: Moderators
Points: 945 Visits: 437
No not yet.

This job has run successfully except for the one day it skipped. It ran successfully today at its normal time. We can't find any reason for it to have skipped a run, the previous run was successful and in its normal run time.

http://www.sqlserverio.com
http://www.cactuss.org
http://www.salssa.org
Vee
Vee
Mr or Mrs. 500
Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)

Group: General Forum Members
Points: 527 Visits: 421
I think your sql agent cache is not in sync with msdb database. You can check this by running

xp_sqlagent_notify 'D', null, Null, null, null.

This will dump what is there in the sql memory for jobs. if your job is not listed then it will not run. Propably in that case you need to restart the sql agent.

After running the above query please look into agent error log it would have dumped what is there in sql server agent cache.
george sibbald
george sibbald
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10570 Visits: 13687
any chance sql agent just wasn't running at the time?

---------------------------------------------------------------------
Wesley Brown
Wesley Brown
SSC Eights!
SSC Eights! (945 reputation)

Group: Moderators
Points: 945 Visits: 437
The job hasn't be modified since it was installed.

SQL Agent was running the whole time. We get alerts immediately if the agent is down from our nagios box.

We have had problems on other boxes where the job would hang on sending notification but nothing like this.

Cheers,
Wes

http://www.sqlserverio.com
http://www.cactuss.org
http://www.salssa.org
TheRedneckDBA
TheRedneckDBA
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2540 Visits: 2610
If you right-click on the job in SSMS, and hit view history, does it come back with anything at all?

The Redneck DBA
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search