I have run into the problem that vixie-cron-3.0.1-74 on RedHat 9 is not setting USER environment variable when running the sync_user cron job. This breaks sync_user, and it will not work. It works fine if you run it by hand. Has anyone else run into this problem on RedHat 9?
The current fix I have put in place it modify sync_user to use the following cron entry: */15 * * * * root USER=$LOGNAME /opt/opium/bin/sync_users >/dev/null 2>&1 In sync_user, be sure to change the definition of $cronline to the following: $cronline = "*/$crondelay * * * * root USER=\$LOGNAME /opt/opium/bin/sync_users >/dev/null 2>&1\n"; This is line 120 of sync_user. Hope someone finds this useful. Randy ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
