* Richard G. Riley wrote in alt.os.linux.ubuntu:> "SINNER"posted the following on 2006-03-05:>> * Richard G. Riley wrote in alt.os.linux.ubuntu:>>> I'm having some issues with leafnode.>>> slrn is connected and if I "sudo fetchnews" manually everything is ok.>>> There is a leafnode file in /etc/cron.d>>> According to the man page this should be picked up & processed by
>>> cron.>>> However there appears to be no automatic/scheduled call to
>>> fetchnews. Any ideas? Logs to check?>>> The leafnode in cron.d is:>>> 8 * * * * news if [ -x /etc/news/leafnode/do-fetch-news ]; then /etc/news/leafnode/do-fetch-news; fi>> Here is mine in my root crontab
>> rootgates-of-hell:/home/sinner # crontab -e>> 0,10,20,30,40,50 * * * * /usr/local/sbin/fetchnews>> Fetchnews runs every 10 minutes every day.Yes. If I absolutely must be root to do something:> I have to "sudo crontab -u root -e" to get something similar to
> work. Doesn't fetchmail have to run as root?
sudo su -
Do what I need and log out, in this case a simple
Vegetarians beware! You are what you eat.