Scheduling SN report

 9 Replies
 0 Subscribed to this topic
 14 Subscribed to this forum
Sort:
Author
Messages
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
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
Veteran Member Send Private Message
Posts: 514
Veteran Member
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
Veteran Member Send Private Message
Posts: 277
Veteran Member
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
Veteran Member Send Private Message
Posts: 1498
Veteran Member
That is the table that I was missing!! Thanks much, Chris!
Patrick Dowd
Advanced Member Send Private Message
Posts: 25
Advanced Member
LSN 10 will also give you Notification auditing capabilities. The same applies for Reporting Services 10.
Chris Martin
Veteran Member Send Private Message
Posts: 277
Veteran Member
Greg - How did you map the schedule name to the infoset/notification?
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
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
Veteran Member Send Private Message
Posts: 1498
Veteran Member
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
Veteran Member Send Private Message
Posts: 277
Veteran Member
I believe it's in "Unix Time", the # of milliseconds since 1/1/1970 at 00:00:00
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
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))