Dbms jobs
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Dbms jobs

  1. #1
    Join Date
    Sep 2002
    Posts
    376

    Dbms jobs

    Hi,
    I want my Job to run every day at 6AM and 2PM ie., twice a day.
    In this case, how can i submit the job.
    Next day again it should start at 6AM.

    If i give the interval as /*8:Hrs*/ sysdate + 8/24 , the job might run again in the 10pm (ie 2pm+8), which i dont want.

    can any body suggest me what i can do.

  2. #2
    Join Date
    Jan 2001
    Posts
    3,131
    cron?
    I remember when this place was cool.

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Setup two jobs; one that runs at 06:00 every day and one that runs at 14:00 every day.
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  4. #4
    Join Date
    Nov 2001
    Location
    The Netherlands
    Posts
    19
    Hi,

    Why not run 2 jobs? One at 6.00, one at 14.00?
    Otherwise, I wonder if a case statement works on dbms_job? case time <13.59 then 14.00 else 6.00
    Hmmm.... I can't test it right now. But let me know if something like that works.

    Regards,

    Arian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width