Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: Auto-run batch processes in Oracle
How many background job processes do you have?
see init.ora params:
JOB_QUEUE_PROCESSES
JOB_QUEUE_INTERVAL
by default #of processes=3D0
Ivo Libal
> -----Urspr=FCngliche Nachricht-----
> Von: B Siva Shankar [SMTP:bsshankar_at_chennai.tcs.co.in]
> Gesendet am: Mittwoch, 21. Juni 2000 14:57
> An: Multiple recipients of list ORACLE-L
> Betreff: Re:Auto-run batch processes in Oracle
>=20 >=20 >=20
>=20
>=20
>=20
>=20
>=20 >=20 >=20 >=20
>=20 >=20 >=20 >=20 >=20
>=20
>=20
> job# is a number that will be returned.
> what_do_I_do is the procedure you want run (I think this can be a
> PL/SQL block as well
> when_should_I_start is a date field, can be sysdate.
> What_interval is a character field that would evaluate to a date
> defer_parsing is a boolean that defaults to false. It tells the
> database whether to parse teh <what_do_I_do> field now or when =
first
>=20
>=20
> declare
> job number;
> begin
> dbms_job.submit(job,
> 'data_archive.process_batch',
> trunc(sysdate)+(18/24),
> 'trunc(sysdate+1)+(18/24)',
> FALSE);
> dbms_output.put_line('Job Number is '||job);
> end;
> /
>=20 >=20
> ____________________Reply Separator____________________
> Author: "B Siva Shankar" <bsshankar_at_chennai.tcs.co.in>
> Date: 6/16/00 4:27 AM
>=20 >=20 >=20
>=20
>=20 >=20
>=20> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing =
Lists
> --------------------------------------------------------------------
>=20 >=20 >=20 >=20
>=20> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing =
Lists
> --------------------------------------------------------------------