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 - I know this, it's a UNIX system

Re: Unix - scheduling - I know this, it's a UNIX system

From: <Brian_P_MacLean_at_efunds.com>
Date: Wed, 03 Jul 2002 14:13:30 -0800
Message-ID: <F001.0048F7C2.20020703141330@fatcity.com>

This will run the job every 28 daze at 1am. If that's not exactly the definition of every 4th week let me know and I'll work something out. Also note that you will have an anomaly at the end of leap years.

0 1 * * * /usr/bin/ksh -c '[ $(($(date '+\%j') \% 28)) -eq 0 ] && /path/to/my/job/the_job'

                                                                                                                                        
                      Roland.Skoldblom@                                                                                                 
                      ica.se                   To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                    
                      Sent by:                 cc:                                                                                      
                      root_at_fatcity.com         Subject:  Unix - scheduling                                                              
                                                                                                                                        
                                                                                                                                        
                      07/02/02 01:43 AM                                                                                                 
                      Please respond to                                                                                                 
                      ORACLE-L                                                                                                          
                                                                                                                                        
                                                                                                                                        




Hallo,

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.

Thanks in advance

Roland

--

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Brian_P_MacLean_at_eFunds.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 Wed Jul 03 2002 - 17:13:30 CDT

Original text of this message

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