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: Ron Thomas <rthomas_at_hypercom.com>
Date: Tue, 02 Jul 2002 09:03:26 -0800
Message-ID: <F001.0048E096.20020702090326@fatcity.com>

>0 */4 * * * your_command

The */4 must be linux. This is not available on HP-UX 11.0.

Ron Thomas
Hypercom, Inc
rthomas_at_hypercom.com
"The problem with some people is that when they aren't drunk, they're sober." --William Butler Yeats.

                                                                                                                                           
                      nils_at_naqua.se                                                                                                        
                      Sent by:                 To:       ORACLE-L_at_fatcity.com                                                              
                      root_at_fatcity.com         cc:                                                                                         
                                               Subject:  Re: Unix - scheduling                                                             
                                                                                                                                           
                      07/02/02 04:28 AM                                                                                                    
                      Please respond to                                                                                                    
                      ORACLE-L                                                                                                             
                                                                                                                                           
                                                                                                                                           





> 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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ron Thomas
  INET: rthomas_at_hypercom.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).
Received on Tue Jul 02 2002 - 12:03:26 CDT

Original text of this message

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