Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQL Server Agent Schedule Decoder

By Michael Abair, 2010/01/06

Job schedules in sql server 2005 are stored in a very difficult to read format. The sql server agent allows for many types of recurring and non recurring schedules. I wrote this query to break down the msdb.dbo.sysschedules table into a format that we can easily read and understand. I based the description column off of the info provided in the new schedule creation GUI window.

 

Simply run this from any SQL Server (only tested in 2005) and it will break down your job schedules into a readable format.

 

Enjoy

-Michael Abair

Total article views: 1637 | Views in the last 30 days: 21
 
Related Articles
FORUM

Sql server job scheduler question

Sql server job scheduler

FORUM

SQL server date formate

SQL server date formate

FORUM

Schedule a job in sql server agent

Schedule a job in sql server agent

FORUM

SQL Server 2005 SSIS Package scheduling

SQL Server 2005 SSIS Package scheduling

Tags
daily    
frequency    
interval    
jobs    
monthly    
msdb.dbo.sysschedules    
schedule    
sql server agent    
sysjobs    
sysjobschedules    
sysschedules    
weekly    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones