[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Fetchmail
>
> So, something like ..... ??
>
> 59 * * * * root /usr/bin/fetchmail -d0
>
> I'm probably wrong which is why I've sent this in.
>
Yep. It's "minutes", "hours", "day of month", "month", "day of week", "user",
"command". So what you've got there will run fetchmail -d0 as root on the
59th minute of every hour, every day.
Alternatively crontab -e and modify root's crontab rather than the system-
wide crontab. The syntax is identical except the username is omitted as all
commands in user crontabs run as the user of that crontab :)
Chris...
--
\ Chris Johnson \
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.