Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to schedule a job on second saturday using cron ?
I'd schedule it every Tue, in the beginning of the script do a check if it
is second, if so, proceed, if not return/exit from code, here is the pseudo
code
if trunc(sysdate) = trunc(next_day(trunc(sysdate,'month'),'Tuesday') + 7)
then
run the job;
else
return;
end;
/
Raj
-- http://www.freelists.org/webpage/oracle-lReceived on Mon May 23 2005 - 10:53:57 CDT
![]() |
![]() |