Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9161403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:57:35+00:00 2026-06-17T13:57:35+00:00

I have a Job running on an Oracle 10g DB with a pretty simple

  • 0

I have a Job running on an Oracle 10g DB with a pretty simple execution plan.

BYDAY=MON,TUE,WED,THU,FRI;BYHOUR=6,10,14,18

Now the problem is that we have to change the plan – but just for Mondays. So on Mondays the first job should run at 8 instead of 6. Then like all the others (10, 14, 18).
Whereas from Tuesday to Friday it should run as above.

The easiest way would be to create a second job for the Monday and to remove the Monday from the original job.
This, however, is a problem for our application, as it relies on just one job per import.

So the question is: Is there a way to tell the scheduler to run at 6,10,14,18 o’clock TUE-FRI and 8,10,14,18 on MON with a single job?

I read about specifying a repeat interval with a PL/SQL expression. But I didn’t find out if there is way to do it.

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:57:36+00:00Added an answer on June 17, 2026 at 1:57 pm

    create a composite schedule, and assign that to the job when you create it.

    for example:

    begin
      dbms_scheduler.create_schedule('MY_SCHED1', repeat_interval =>
      'FREQ=DAILY;BYDAY=TUE,WED,THU,FRI;BYHOUR=6,10,14,18');
    END;
    /
    begin
    dbms_scheduler.create_schedule('MY_SCHED2', repeat_interval =>
      'FREQ=DAILY;BYDAY=MON;BYHOUR=8,10,14,18');
    END;
    /
    begin
    dbms_scheduler.create_schedule('MAIN', repeat_interval =>
      'MY_SCHED1, MY_SCHED2');
    END;
    /
    

    now you’d just assign the “MAIN” named schedule to the job instead of the schedule string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pretty long running job, which runs for several minutes and then
We have a job management application running (Access) with the database in SQL Server
I have a job on SQL Server 2005 running a ssis package. The package
I have a servlet running on GAE and I have a cron job that
Just looking for people's opinion regarding communication between an Oracle 10G database running on
We have an SSIS job that has been running for over a year with
I have an Oracle database that runs a PL/SQl job once every week to
I have a job running under Hudson that has not progressed from Started by
I have a cron job running a PHP script every five minutes; the PHP
I have a long running job. The records to be processed are in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.