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: Unix - scheduling

Re: Unix - scheduling

From: Nils Höglund <nils_at_naqua.se>
Date: Tue, 02 Jul 2002 03:28:20 -0800
Message-ID: <F001.0048DA9A.20020702032820@fatcity.com>

> anyone who has a good example on how to write in the crontab if you want to schedule a job to run every four week.
> Is it possible to do that in unix cron job schedule.

Yes, it is very possible.

Run 'crontab -e' as apropeate user. Your $EDITOR will open. Write as described in crontab(5) manual ('man 5 crontab'):

0 */4 * * * your_command

This will run your_command every four hours (first field which minutes, second field in which hours)

You can also edit the /etc/crontab-file (if avaible on your system.) This file has a different syntax (you specify the user who is going to run the command too.)

-- 
/Nils Höglund, Naqua KB

E-mail:         nils_at_naqua.se
Web:            http://www.naqua.se/
Home Phone:     +46 (0)18  30 09 19
Cellular Phone: +46 (0)709 91 97 65
Address:        Nya Valsätrav. 26 B
                SE-756 46
                Uppsala, Sweden
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?Q?Nils_H=F6glund?=
  INET: nils_at_naqua.se

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).
Received on Tue Jul 02 2002 - 06:28:20 CDT

Original text of this message

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