DMO-Job Monitor

  • I schedule many jobs thru the Sql seheduler. I was looking for a way to build an APP using DMO that could monitor just this piece without giving someone EM. They nedd to be able to Start/Stop and monitor jobs in the schedule. Do you have any examples ?

  • Not so far. Anyone else? I don't think it will be too difficult. I like the idea of a custom front end, eliminates a lot of headaches! Probably you need:

    1) Retrieve the list of all jobs

    2) Then for any job, start, stop

    3) Also view history for any job

    Would they be adding/removing jobs? Other requirements?

    Andy

  • There maybe a need to add/modify jobs.

  • Adding jobs can be a fair sized headache. Well, adding the job is not bad, but getting the schedule done takes some work. If you're not going to be adding very many, I think I'd consider leaving that part out. The only alternative I can think of is maybe to use SQL-Namespace, but not well versed enough to know for sure.

    What language/tool are you planning to use for your project?

    Andy

  • Stored procedures (my favorite) exist for most every job item you need. It would be easy to also build a GUI interface in ASP/VB/.NET that would manage your jobs.

    Personally I'd prefer this as it would be easier to change and modify than VB/DMO (sorry Andy).

    Steve Jones

    steve@dkranch.net

  • Would be interesting to do both approaches, since how they compare. Depending on how efficent DMO is, it might be faster to use procs.

    Andy

  • I was thinking of using VB/DMO approach.

  • Either will work. Have you looked at the jobs collection and the job object yet?

    Andy

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply