Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scheduler Jobs that run between certain times?

Catfive LanderMar 24 2011 — edited Mar 25 2011
Is there an easy way to query which dbms_scheduler jobs run between any given times?

If I look at repeat_interval in user_scheduler_jobs, for example, I've got things like "FREQ=DAILY; BYHOUR=14,16,18,20,8,10,12; BYMINUTE=30" and "FREQ=HOURLY; INTERVAL=2;" and "FREQ=DAILY;", and it's not therefore clear to me how I could write a query that would find which jobs run between (say) 17:00 and 19:00.

Is there a function, or a neat bit of sql, that will 'explode' the repeat interval (presumably, in the case of the last two examples above, with reference to the start_date) into standardized times which I could then query? Or is there some other way of doing it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2011
Added on Mar 24 2011
2 comments
725 views