On Fri, 11 Sep 1998, Bogdan Taru wrote: > a chalenge to me to make it execute as a simple user, not root. So I > created a file 'bgd' (--> my user name) in '/var/spool/cron/crontab', with > the appropiate line in it... You're supposed to use crontab <filename> to do that. The filename can be any file that pleases you, and crontab handles the naming and placement of it. You can use crontab -l to list your current crontab entry and crontab -d to delete it. > In the '/var/spool/cron/crontab/root' I have, for example, a line which > does a 'sync' every 5 minutes. The problem is that every 5 minutes I get a > line on the screen, announcing me that 'sync' was started by root at > **:**:**, with the pid ***. It didn't happen before, and the output of > 'sync' is redirected to > '/dev/null'. > If I remove '/var/spool/cron/crontab/bgd', and restart the daemon as I > did before, everything is fine again... If getting rid of /var/spool/cron/crontab/bgd solves your problem, then perhaps invoking crontab to place your file for you will fix things. Another thing to consider is to check and see how crond is started... there's an option for logging level -l10 turns off messages. ------------------------------------------------------------------------- James Clifford | http://www.tripod.com/~MrBobo [EMAIL PROTECTED] | The best way to make your dreams come true is [EMAIL PROTECTED] | to wake up. - Paul Valery
