0 1 * * 0 /usr/bin/ksh -c "[ `date '+\%a'` = 'Sun' -a $((`date '+\%U'` \%
2)) -eq 0 ] && /path/myscript.ksh"

This will run myscript.ksh on even Sundays at 1 a.m.

If ?'s, email me direct.




                                                                                       
                                              
                      kommareddy                                                       
                                              
                      sreenivasa               To:       Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>                 
                      <[EMAIL PROTECTED]        cc:                                    
                                               
                      om>                      Subject:  how to schedule a job every 
alternate sundays in unix cron                  
                      Sent by:                                                         
                                              
                      [EMAIL PROTECTED]                                                
                                              
                      .com                                                             
                                              
                                                                                       
                                              
                                                                                       
                                              
                      07/16/2003 06:09                                                 
                                              
                      AM                                                               
                                              
                      Please respond to                                                
                                              
                      ORACLE-L                                                         
                                              
                                                                                       
                                              
                                                                                       
                                              




Hello All,

OS: Solaris 2.8

I have to run a backup script in every alternate
Sunday.

I cant find a way to submit it in cron.

Can somebody help me  how to setup a job to run
alternate Sundays in unix cron .

Thanks and Regards,
Srinivas



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: kommareddy sreenivasa
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to