How do we fix the issue when the sql agent job schedules are updated but do not run using the new schedule?
We have a Microsoft SQL Server 2019 (RTM-CU32) (KB5054833) - 15.0.4430.1 (X64) instance. whenever we try to adjust an existing job schedule it will not persist the change and will continue to run as the original schedule. For example, If I have a job that is scheduled to run nightly at 10Pm and I change it to run at 11PM it will show as 11PM in the GUI but the job continues to run at 10PM. we have hundreds of jobs so dropping and recreating is not a sustainable option.
Some things we have tried that do not fix:
- dbo.sp_attach_schedule
- sp_update_jobschedule
- the service account for the sql agent has sufficient permissions
- system clock is accurate/synced
- updated the start date to today
- restart the sql agent
Error log for each time tried to update a schedule.
Date,Source,Severity,Message
10/23/2025 10:17:11,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...
10/23/2025 10:10:05,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...
10/23/2025 09:43:53,,Error,[158] Schedule 6115 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...
10/23/2025 08:43:28,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x6B4D5AE4EE897E4C93A7DC3B7901D9C6: attempting to re-acquire it from the server...
10/23/2025 08:40:13,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...
10/23/2025 08:35:46,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...
10/23/2025 08:15:22,,Error,[158] Schedule 6784 does not exist in the schedule cache for job 0x00000000000000000000000000000000: attempting to re-acquire it from the server...