Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Job Enabled and Schedule Enabled confusion
17 posts, Page 2 of 2
««
1
2
Job Enabled and Schedule Enabled confusion
Rate Topic
Display Mode
Topic Options
Author
Message
Jon.Morisi
Jon.Morisi
Posted Tuesday, April 20, 2010 12:47 PM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 10:44 AM
Points: 276,
Visits: 685
I just tried to reproduce the issue as well and couldn't do it.
This DID occur on my production box this morning though.
Post #907169
Lynn Pettis
Lynn Pettis
Posted Tuesday, April 20, 2010 1:14 PM
SSC-Insane
Group: General Forum Members
Last Login: Yesterday @ 9:17 PM
Points: 21,832,
Visits: 27,855
The reason I was asking is i had a similar problem when I would failover our mirror databases. The code that was enabling/disabling the database specific jobs wasn't "working". Where the jobs were being disabled, they kept working and where the were being enabled they would run.
I had to modify my code to use the sp_update_job stored procedure in the msdb database. Turns out that SQL Server Agent caches the information and this stored procedure forces a notification to SQL Server Agent.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #907189
Jon.Morisi
Jon.Morisi
Posted Tuesday, April 20, 2010 1:57 PM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 10:44 AM
Points: 276,
Visits: 685
Sounds like the lesson for the day is to use sp_update_job to enable / disable and to avoid the GUI
Post #907215
Lynn Pettis
Lynn Pettis
Posted Tuesday, April 20, 2010 2:18 PM
SSC-Insane
Group: General Forum Members
Last Login: Yesterday @ 9:17 PM
Points: 21,832,
Visits: 27,855
Not really. When I used the GUI to enable/disable the jobs, it cleared up the problem. I am pretty sure that the GUI uses the stored proc. You would need to run a trace to be sure.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #907244
barsuk
barsuk
Posted Wednesday, April 21, 2010 5:19 PM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 7:15 PM
Points: 2,647,
Visits: 5,032
Few months ago we decided not to have a schedule enabled in disabled jobs to avoid unwanted runs, like described above
Post #908225
mohammed moinudheen
mohammed moinudheen
Posted Wednesday, April 21, 2010 10:54 PM
SSCrazy
Group: General Forum Members
Last Login: 2 days ago @ 10:29 PM
Points: 2,178,
Visits: 3,599
I guess these are sporadic issues related to job schedules. Is there something we might be missing here?
I am getting little confused.
Mohammed Moinudheen
Post #908309
Jon.Morisi
Jon.Morisi
Posted Friday, April 23, 2010 12:24 PM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 10:44 AM
Points: 276,
Visits: 685
FYI,
https://connect.microsoft.com/SQLServer/feedback/details/552707/job-disabled-and-schedule-enabled?wa=wsignin1.0#tabs
Post #909740
« Prev Topic
|
Next Topic »
17 posts, Page 2 of 2
««
1
2
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.