[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Get a list of Job schedules in SQL Server 2005

Is there a way to get a list of all jobs and their schedules from the SQL Server Agent on SQL Server 2005?

Thanks,
Kate
0
kasiencja
Asked:
kasiencja
  • 2
1 Solution
 
Aneesh RetnakaranDatabase AdministratorCommented:
select * from msdb.dbo.sysjobs
select * from msdb.dbo.sysjobschedules
0
 
kasiencjaAuthor Commented:
Thanks!
0
 
dbidbaCommented:
To get a more readable result set, follow the steps here:
http://www.mssqltips.com/tip.asp?tip=1622

You create a function in msdb, then run a script against it. Results look something like this.

name                      active_start_time       ScheduleDscr
SqlMon-4                0:00                              Automatically starts when SQLServerAgent starts.
SqlMon All              6:02                              Every day at 6:02
SqlAudit - Scan     12:35                            Every 1 week(s) on Monday at 12:35


 
0
 
kasiencjaAuthor Commented:
Thanks for the last post; it does make life a lot easier with this layout.  I'm sorry I don't think/not sure I can split the points at this time.

Kate
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now