[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Fetchnews Won't from Cronjob




Are you getting any errors in /var/log/cron or maybe /var/log/messages.  
Also, how long is it taking texpire to run.  I don't think fetchnews
will run if texpire's lockfile is in /var/lock/news.




On Fri, 28 Jan 2000, Marie Fischer wrote:

> On Fri, 28 Jan 2000, Cornelius Krasel wrote:
> 
> > Uncle Meat wrote:
> > 
> > > I'm having a problem with fetchnews running from cron. I can perform the
> > > same command manually, but it never runs from the crontab.
> > > 
> > > Here are the entries:
> > > 
> > > 05      19      *       *       *       news    /usr/local/sbin/texpire
> > > 30      19      *       *       *       news    /usr/local/sbin/fetchnews
> >   ^min    ^hour   ^day    ^month  ^weekday 
> > 
> > I am quite surprised about your sixth field. What operating system are
> > you using? (Under linux, the sixth field is supposed to contain the
> > command.)
> 
> It is, in user's crontab. However, /etc/crontab is different, the sixth
> field containing the user. I have texpire and fetchnews in the "news"
> user's crontab, but I can't think of any way why putting it into
> /etc/crontab should cause any problems.
> 
> -- 
> marie
> 
> 
> -- 
> leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
> To unsubscribe, send mail with "unsubscribe" in the subject to the list
> 
> 


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list