Re: Job schedule

On Thu, 3 Feb 2005 08:19:06 -0800, Terry Sutton <terrysutton@xxxxxxx> wrote:
> If you're using the dbms_job queue, your interval would be something like
>     'trunc(decode(to_char(sysdate,''DAY''), ''SATURDAY '', sysdate + 3,
> ''SUNDAY   '', sysdate + 2, sysdate + 1)) + 5/24'

Don't forget to include a time component in the spec.

As stated the start time for this job will creep by the runtime of the job.

Include a time component to avoid that.

eg.  trunc(sysdate) +  3 + (5/24 )

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l

Other related posts: