I've got a problem with a cron job that just seems so weird to me.  It
has to do with fnews, which I loaded up yesterday...

if I run '/usr/local/bin/fnews -f /root/news/fnewsgroups' from the
terminal everything runs just fine.... fnews pulls my injects and passes
them to my mailing list.  But if I try to run this all from cron I get
the following error:

-----Forwarded Message-----

> From: Cron Daemon <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Cron <root@mail> sh /root/news/cronrun
> Date: 14 Dec 2002 14:30:01 -0500
> 
> Connecting to news.cavtel.net at port 119: .. done.
> fnews: //news/rec.arts.comics.dc.universe: cache create error: No such file 
> or directory Disconnecting from news.cavtel.net: done.


/etc/crontab

01 * * * * root /usr/local/bin/fnews -f /root/news/fnewsgroups

I also tried this

01 * * * * root sh /root/news/cronrun

/root/news/cronrun
/usr/local/bin/fnews -f /root/news/fnewsgroups

Any idea why this works from the terminal, but not in cron??

Anthony


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to