October 23, 2018 at 2:07 am
Hello Experts,
I am in process to automate the Maintenance job failure incidents in my environment. but I am facing the below challenge, Please help
Thanks in advance.
October 24, 2018 at 1:04 am
I already checked, but it didn't help.
October 24, 2018 at 11:35 am
anujkumar.mca - Wednesday, October 24, 2018 1:04 AMI already checked, but it didn't help.
If these are maintenance plans stored on SQL Server, you can query msdb.dbo.sysssispackages and if you include where package type = 6, that returns the rows that are maintenance plans. From there you need to shred the xml in the packagedata column. I don't think you will get the sequences too easily, if at all. Sequences of tasks depend on precedent constraints so that would need to be accounted for. But that's where the data is.
Sue
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply