Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: dbms_jobs versus cron
Hi, Hanne,
I do not have that much experience, but afaik there are some common errors I made too in the first place:
-->stop all jobs:
ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 0;
--set job specs ... ok
DECLARE
jobno number;
BEGIN
DBMS_JOB.SUBMIT(jobno,
'itsme.jg_load_objects;', --calling a stored proc. ***never miss the ";" in it ***
SYSDATE, 'SYSDATE + 1/48' --every half hour);
That was it.
It then ran fine 700 times, no single error, until I stopped the job
normally.
My system:
Oracle EE 8.1.7.3 on AIX 4.3.3
Hope it helps ...
Jan
"Hanne Iren Midttun" <hannem_at_tihlde.org> schrieb im Newsbeitrag
news:Pine.LNX.4.21.0301080901580.19558-100000_at_colargol.tihlde.org...
> Hi,
> from another thread (Oracle stored procedures vs Running from a flat .sql
> file), I saw that it was stated that dbms_jobs was better then cron.
>
>
>
![]() |
![]() |