Cron prob has been resolved. The manpage from crontab seems to indicate that the fields are an OR not an AND. eg > 0 2 1-24 * 0 > /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_offline_backup Would run every day from the 1st to the 24th AND every Sunday. But if you had the following: > 0 2 * * 0 > /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_offline_backup It would only run on Sundays. If it followed the logic above it would run on every days AND Sundays! therefore the fields operate under the OR logic. My thinking was that if I restricted the dates then it would run between the 1-24 and only on Sundays. I guess not! Thanks to all that replied. __________________________________ Mark Orig message: Having a problem with cron on a Sol 9 (09/04) box. Relevant root crontab entries: # # minute (0-59), # | hour (0-23), # | | day of the month (1-31), # | | | month of the year (1-12), # | | | | day of the week (0-6 with 0=Sunday). # | | | | | commands # # SAP BACKUPS #------------- # 0 23 * * 1-5 /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_online_backup 0 2 1-24 * 0 /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_offline_backup # # Monthly Offsite Backups - Set date - last Sat of every month. 0 2 25-31 * 0 /usr/openv/netbackup/ext/db_ext/sap/scripts/monthly_offline_backup Problems: 1. the sap_offline_backup script runs every night but is specified to run on day 0 only. 2. the monthly_offline_script ran last Sunday even though it was the 11th of the month. It is specified to run on the 25th - 31st of each month. The information contained in this email message may be confidential. If you are not the intended recipient, any use of, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this message in error, please notify me by reply email and then delete the message. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Sun Dec 11 17:44:08 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:53 EST