Haven't been able to reproduce your problem yet, but just out of curiosity:
What version of cron are you running? I've got:
# emerge vixie-cron -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-process/vixie-cron-4.1-r8 USE="pam -debug" 57 kB
Total size of downloads: 57 kB
You can see that I have pam in my USE flags, I assume you do too?
Also, what are your CFLAGS from /etc/make.conf? (just trying to see if
I can somehow reproduce your problem here).
And finally, if you ran an "/etc/init.d/vixie-cron restart" do you get
any errors? Anything out of the ordinary show up in your logs?
Thomas T. Veldhouse wrote:
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
--
[email protected] mailing list