Chad Feller wrote:
Curious. I just tested it on two of my Gentoo boxes. added myself to the cron group (gpasswd -a <my username> cron), then as my regular user ran "crontab -e" and entered

*/5 * * * * /usr/bin/mutt [EMAIL PROTECTED] -s 'test from user'
I just tried this (with the correct email address) and received nothing.

Just to get it to email me every five minutes, which it is. I've also got an empty cron.deny with no cron.allow (and am also using vixie cron). I'm going to try to debug this with you, so just to throw a couple of things out there:

1) Are you editing the users crontab directly or are you using "crontab -e" ? Using the builtin crontab edit will catch errors which would prevent execution...
Yes, crontab -e.

2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest.
Nothing special, no errors and no sign of it running. You can see that I edited the file though:

Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser)
Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser)
Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser)
Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser)

Tom Veldhouse
--
gentoo-user@gentoo.org mailing list

Reply via email to