Skip to Main Content

Oracle Database Discussions

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!

DBMS_JOB running at wrong time

PRISMJan 7 2013 — edited Jan 7 2013
We have a bunch of jobs scheduled using DBMS_JOB (yes, I know I should be using DBMS_SCHEDULER, but we haven't migrated there yet). We are running Oracle 11.2.0.3 on Windows Server 2003 x64.

Lately, we've seen jobs kick off at incorrect times. For example, we have a job that is supposed to run every Wednesday at 20:00. The Interval we have set up is "NEXT_DAY(TRUNC(SYSDATE), 'WEDNESDAY')+20/24". This has been working as intended. Today (Monday), however, the job kicked off at 11:52. It was the wrong day and the wrong time.

Can someone let me know how I got about starting to troubleshoot this? I don't see anything weird in my alert log. Where else should I check to figure out why this job ran today?
JOB	LAST_DATE	LAST_SEC	NEXT_DATE	NEXT_SEC	INTERVAL	WHAT
293	1/7/2013 11:52:46 AM	11:52:46	1/9/2013 8:00:00 PM	20:00:00	NEXT_DAY(TRUNC(SYSDATE), 'WEDNESDAY')+20/24	ACQUISITIONS.WORKLOAD_STATUS_UPDATE_NOTIF;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2013
Added on Jan 7 2013
5 comments
541 views