[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Mail Check Script
On Fri, Feb 23, 2001 at 11:40:42AM +0000, Richard wrote:
> In /etc/crontab for the regular download of mail I have the
> following line....
>
> 15 6-23 * * * root /usr/local/sbin/isdnctrl dial ippp0
>
> this downloads mail and I don't have to touch anything. The mailcheck
> line that Craig's put in is....
>
> */15 * * * root /usr/local/sbin/mailcheck
Okay, so line one works, but line two doesn't. Now, I'm no cron expert, but I can count, and I don't see enough fields - it seems to me that line two will only run the command '' on days called 'root'. I would throw another '* ' in there, to make sure :)
So, what we should have (according to me!) is:
*/15 * * * * root /usr/local/sbin/mailcheck
. as in, every fifteen minutes, every hour, every day, every month, don't care what the day is, user root, command mailcheck.
Or have I missed the point?
And I shall make no jokes about Richard being found in possession of /bin/hash :)
Cheers,
Alex.
--
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.