[HPADM] Cron Job Question.

From: brian irvin (brian944us@yahoo.com)
Date: Fri Nov 05 2004 - 18:04:03 EST


Team:

I have the following question from my teammate in
scheduling a cron job.

1. How I can run a job after each 14 Days.
2. How I can make sure that the job is running on the
first working day of the month.
Taking only Sat-Sun into account for Holidays.

Tell me if this answer is correct....

For both requirements, some logic has to be built into
the program that is to be run thro' cron. The cron tab
entry may be set as:
1. <<???>>
2. 0 0 1-7 * * <<command>>

The <<command>> logic should inturn check the day.

Please Help.

Thanks

Brian.

                
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:44 EDT