1 |
Chad Feller wrote: |
2 |
> Curious. I just tested it on two of my Gentoo boxes. added myself to |
3 |
> the cron group (gpasswd -a <my username> cron), then as my regular |
4 |
> user ran "crontab -e" and entered |
5 |
> |
6 |
> */5 * * * * /usr/bin/mutt |
7 |
> myemail@mydomain -s 'test from user' |
8 |
I just tried this (with the correct email address) and received nothing. |
9 |
> |
10 |
> Just to get it to email me every five minutes, which it is. I've also |
11 |
> got an empty cron.deny with no cron.allow (and am also using vixie |
12 |
> cron). I'm going to try to debug this with you, so just to throw a |
13 |
> couple of things out there: |
14 |
> |
15 |
> 1) Are you editing the users crontab directly or are you using |
16 |
> "crontab -e" ? Using the builtin crontab edit will catch errors which |
17 |
> would prevent execution... |
18 |
Yes, crontab -e. |
19 |
> |
20 |
> 2) Check your appropriate log file (I use sysklogd), so something |
21 |
> like tail -f /var/log/syslog might reveal something of interest. |
22 |
Nothing special, no errors and no sign of it running. You can see that |
23 |
I edited the file though: |
24 |
|
25 |
Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser) |
26 |
Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser) |
27 |
Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser) |
28 |
Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser) |
29 |
|
30 |
Tom Veldhouse |
31 |
-- |
32 |
gentoo-user@g.o mailing list |