I'm a little confused on how OpenPKG uses cron for its maintenance. On my AIX/HP/Solaris machines I get this in root's crontab:

# <OpenPKG prefix=/syscfg/opkg pkg=openpkg>
# chronological tasks of /syscfg/opkg OpenPKG hierarchy
0 0 1 * * [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all monthly 0 0 * * 0 [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all weekly 0 0 * * * [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all daily 0 * * * * [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all hourly 0,15,30,45 * * * * [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all quarterly
# </OpenPKG>

However, on Linux (both SUSE and RHEL) I get nothing in cron nor in the /etc/cron* directories. What's weird is that I get these messages on my SUSE boxes, but not on my RHEL boxes (yes, I reinstalled to a different location):

Mar 7 10:15:00 mig /USR/SBIN/CRON[2264]: (root) CMD ( [ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all quarterly) Mar 7 10:15:00 mig /USR/SBIN/CRON[2266]: (root) CMD ( [ -f /opt/openpkg/etc/rc ] && /opt/openpkg/etc/rc all quarterly) Mar 7 10:15:00 mig /USR/SBIN/CRON[2270]: (root) CMD ([ -f /syscfg/opkg/etc/rc ] && /syscfg/opkg/etc/rc all quarterly)

How are these commands being called? I've searched and can't find anything. Restarting cron or rebooting doesn't remove the old entries. On RHEL I tried adding the above crontab entries but I'm getting no messages.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to