Updating scheduled jobs schedule does not enable the schedule
jonesric
Posts: 25 Bronze 1
in SQL Backup
Hi,
If I have a scheduled backup or restore job and the job has (successfully) run at the scheduled time, if I update that schedule to a new date/time in the future, the actual schedule is not (re-)enabled and I have to go into SSMS, find the job and re-enable the schedule manually.
I believe this post on an older version of SQL Backup is the same issue -
https://forum.red-gate.com/discussion/77628/sql-agent-job-schedule-is-disabled-after-editing-job
Is this "meant" to happen? I mean, clearly a decision has been made for the product to work this way, but I've been caught out a few times by the disabled schedule and it seems silly to me so I was wondering what the thought process round this was.
*I should note that SQL Backup has the new date/time in the Schedules column but the Next Run column doesn't show the new date/time until the schedule has been enabled manually
Thanks,
Ric.
If I have a scheduled backup or restore job and the job has (successfully) run at the scheduled time, if I update that schedule to a new date/time in the future, the actual schedule is not (re-)enabled and I have to go into SSMS, find the job and re-enable the schedule manually.
I believe this post on an older version of SQL Backup is the same issue -
https://forum.red-gate.com/discussion/77628/sql-agent-job-schedule-is-disabled-after-editing-job
Is this "meant" to happen? I mean, clearly a decision has been made for the product to work this way, but I've been caught out a few times by the disabled schedule and it seems silly to me so I was wondering what the thought process round this was.
*I should note that SQL Backup has the new date/time in the Schedules column but the Next Run column doesn't show the new date/time until the schedule has been enabled manually
Thanks,
Ric.
Tagged:
Answers
Thanks!
Sean Quigley | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Thanks,
Ric.
I created a job to back up some databases to run every 15 minutes. After some scheduled runs, I modified to schedule to back up every 45 minutes, which pushed the next run time to after the earlier scheduled run time. The schedule was still enabled within SSMS.
Thanks.
So, if I have an ad-hoc backup job that runs just once, if I then edit the schedule, because it's run successfully its 1 scheduled time, the schedule remains disabled, and so I have to manually enable it. It's not (for me) the expected behaviour but I can see why it happens.