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: RE : crontab question

RE: RE : crontab question

From: <jfedock_at_ixl.com>
Date: Tue, 13 Jun 2000 09:04:49 -0400
Message-Id: <10527.108901@fatcity.com>


The only way I know of to do this is set up a cron to run every Sunday, then within the script see if it is the first Sunday of the Month.

Here is what I have been using:

if [ `date +%d` -gt 7 ];
  then exit;
else
  PATH=$PATH:/usr/local/bin

  . /usr/local/bin/oraenv

  sqlplus XXX/XXX @X.sql
fi

John Fedock
jfedock_at_ixl.com
iXL

-----Original Message-----
From: TiffanyDu_at_pcdc.com.tw [mailto:TiffanyDu_at_pcdc.com.tw] Sent: Tuesday, June 13, 2000 12:12 AM
To: Multiple recipients of list ORACLE-L Subject: RE : crontab question

Hi Lisa:

        You can try this 0 9 1-7 * 0.                                                                 

Tiffany
e-mail tiffanydu_at_pcdc.com.tw

> -----Original Message-----
> From: Lisa_Koivu_at_gelco.com [SMTP:Lisa_Koivu_at_gelco.com]
> Sent: Tuesday, June 13, 2000 4:46 AM
> To: Multiple recipients of list ORACLE-L
> Subject: crontab question
>
> Hello -
>
> I'm curious: How would I enter the date for a crontab entry if I want a
> job to
> run the first Sunday of every month?
>
> Would it be redundant like this:
>
> 0 9 1,2,3,4,5,6,7 * 0
>
> Thanks
> Lisa
> Minneapolis,MN,USA
> *O*verly *C*autious *P*utz
>
>
>
>
> --
> Author:
> INET: Lisa_Koivu_at_gelco.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).

-- 
Author: =?big5?B?VGlmZmFueSBEdSAoIKf5p0qq4iAp?=
  INET: TiffanyDu_at_pcdc.com.tw

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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
Received on Tue Jun 13 2000 - 08:04:49 CDT

Original text of this message

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