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
SSCommitted
SSCommitted (1.9K reputation)

Group: Moderators
Points: 1927 Visits: 442
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
SSC Eights!
SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)SSC Eights! (931 reputation)

Group: General Forum Members
Points: 931 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
SSCommitted
SSCommitted (1.9K reputation)

Group: Moderators
Points: 1927 Visits: 442
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
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1903 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
SSCertifiable
SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)

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




My blog

Wesley Brown
Wesley Brown
SSCommitted
SSCommitted (1.9K reputation)

Group: Moderators
Points: 1927 Visits: 442
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
SSC Eights!
SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)SSC Eights! (941 reputation)

Group: General Forum Members
Points: 941 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
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

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

---------------------------------------------------------------------
Wesley Brown
Wesley Brown
SSCommitted
SSCommitted (1.9K reputation)

Group: Moderators
Points: 1927 Visits: 442
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
SSCarpal Tunnel
SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)

Group: General Forum Members
Points: 4179 Visits: 2613
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