PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/05/2012 9:50 AM by  Greg Moeller
Scheduling SN report
 9 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Greg Moeller
Private
Private
Veteran Member
(4034 points)
Veteran Member
Posts:1438


Send Message:

--
02/29/2012 10:11 AM
    Schedule report showing last run time, next run time, scheduled run time and name of infoset? Would really like to be able to associate this with the notifications as well, but would take the infoset scheduling as a start.

    Anyone have a working example that they'd be willing to share?
    Matthew Nye
    Private
    Private
    Veteran Member
    (1532 points)
    Veteran Member
    Posts:514


    Send Message:

    --
    02/29/2012 10:53 AM
    what version are you on?
    If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
    Chris Martin
    Private
    Private
    Veteran Member
    (825 points)
    Veteran Member
    Posts:277


    Send Message:

    --
    02/29/2012 11:29 AM
    This will get you the schedule name, last run time, and next run time:

    select job_name, prev_fire_time, next_fire_time
    from qrtz_triggers
    Greg Moeller
    Private
    Private
    Veteran Member
    (4034 points)
    Veteran Member
    Posts:1438


    Send Message:

    --
    02/29/2012 11:46 AM
    That is the table that I was missing!! Thanks much, Chris!
    Patrick Dowd
    Private
    Private
    Advanced Member
    (75 points)
    Advanced Member
    Posts:25


    Send Message:

    --
    02/29/2012 12:03 PM
    LSN 10 will also give you Notification auditing capabilities. The same applies for Reporting Services 10.
    Chris Martin
    Private
    Private
    Veteran Member
    (825 points)
    Veteran Member
    Posts:277


    Send Message:

    --
    02/29/2012 12:23 PM
    Greg - How did you map the schedule name to the infoset/notification?
    Greg Moeller
    Private
    Private
    Veteran Member
    (4034 points)
    Veteran Member
    Posts:1438


    Send Message:

    --
    02/29/2012 3:08 PM
    v 9.0.4.2.156 or something like that.

    Chris: I haven't figured that completely out yet.... I'll let you know if I figure it out.
    Greg Moeller
    Private
    Private
    Veteran Member
    (4034 points)
    Veteran Member
    Posts:1438


    Send Message:

    --
    02/29/2012 3:11 PM
    How is the time stored here? We have an oracle db and I see things like 1245328740000 in the time fields? How do I get that into at least military time?
    Chris Martin
    Private
    Private
    Veteran Member
    (825 points)
    Veteran Member
    Posts:277


    Send Message:

    --
    02/29/2012 4:49 PM
    I believe it's in "Unix Time", the # of milliseconds since 1/1/1970 at 00:00:00
    Greg Moeller
    Private
    Private
    Veteran Member
    (4034 points)
    Veteran Member
    Posts:1438


    Send Message:

    --
    03/05/2012 9:50 AM
    I tried using the unix time, but now am coming up with last run dates of sometime in 1945, which is not correct. Is there any other possibilities for how this is stored in Oracle, or do I just have something wrong in my formula? I'm using:
    DateAdd("s",{QRTZ_TRIGGERS.PREV_FIRE_TIME},DateTime(1970,01,01,00,00,00))
    You are not authorized to post a reply.