[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Fetchmail
Hi
Got Fetchmail going again with Procmail due to spam and related
problems. Only thing now is that I'd like to get Fetchmail running
with crontab on an hourly basis so that something like 'fetchmail -d0'
happens every sixty minutes.
As usual I've forgotten the syntax. Vixie cron /etc/crontab
Present one looks like this...
-*/15 * * * * root test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
14 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily
29 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
44 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
So, something like ..... ??
59 * * * * root /usr/bin/fetchmail -d0
I'm probably wrong which is why I've sent this in.
Thanks
Richard
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.