Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Replacing crons with jobs...

Re: Replacing crons with jobs...

From: Darrell Landrum <DLANDRUM_at_zalecorp.com>
Date: Mon, 19 May 2003 12:07:06 -0800
Message-ID: <F001.0059CEED.20030519120706@fatcity.com>


My initial thought on this is that it would require multiple jobs (one job for each hour, for each day).
However, it might be simpler to create one single job which runs every hour every day and have the code built in to check the date (day and time) and if within certain criteria, do the work, if not do nothing.

>>> joseluis_delgado_at_yahoo.com 05/19/03 01:06PM >>>
List...

How can I translate this:

CRONTAB:
00 8-19 * * 1,2,3,4,5
/litoral/oracle/admin/get_users.sh

to Oracle with DBMS_JOB?

I mean: I got confused at the time when I tried to program a job from certain days at certain hours (intervals).

ie: monday to friday from 8:00AM to 19:00 PM every hour.

of course, the *.sh file, connect to Oracle and executes a *.sql script file.

Can you give a bit of help!

TIA
JL



Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Jose Luis Delgado
  INET: joseluis_delgado_at_yahoo.com 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Darrell Landrum
  INET: DLANDRUM_at_zalecorp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon May 19 2003 - 15:07:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US