Article View: news.software.nntp
Article #79060Re: Expire and generate reports
From: kjell
Date: Wed, 21 May 2008 14:05
Date: Wed, 21 May 2008 14:05
30 lines
2282 bytes
2282 bytes
Ray Banana skrev: > Thus spake "kjell" <petter@uuyuy.se> > >>>> I think this should do the "work": >>>> 15 4 * * * news test -x /usr/lib/news/bin/news.daily && >>>> news.daily expireover lowmark delayrm >>> Yes. If the above is one single line in the crontab. >> Yes, it is. >> Why does it not work!? :-( >> Can I run the above line to test, and how?! ;-) > > You can run the above line (starting with test -x ...) as user news from > the command line. > I suspect that /usr/lib/news/bin/ is not in the environment's > $PATH. Please make sure there is a line like > > PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin > > in /etc/cron.d/inn2. > I have this "PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin" > in /etc/cron.d/inn2 already. I run this "test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm" (in one line) and I get this error "sh: news.daily: not found" Kjell
Technical Details
Message-ID:
<g11a8j$gvc$1@ubuntu1.ipbo.se>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.warnet.at!open-news-network.org!just2write2.myftp.org!not-for-mailReferences:
<g10dle$7h5$1@ubuntu1.ipbo.se> <803aoccd8r.fsf@banana.shacknet.nu> <g10ljf$b1n$1@ubuntu1.ipbo.se> <80y764awmj.fsf@banana.shacknet.nu> <g10p20$cbp$1@ubuntu1.ipbo.se> <80prrfc0t4.fsf@banana.shacknet.nu> <g1156k$ff2$1@ubuntu1.ipbo.se> <80lk23byjy.fsf@banana.shacknet.nu> <g11869$g91$1@ubuntu1.ipbo.se> <80d4nfbwpc.fsf@banana.shacknet.nu>Show Full Headers
Complete Article Headers
Message-ID: <g11a8j$gvc$1@ubuntu1.ipbo.se> Subject: Re: Expire and generate reports Date: Wed, 21 May 2008 16:05:57 +0200 From: kjell <hd@ipbo.se> References: <g10dle$7h5$1@ubuntu1.ipbo.se> <803aoccd8r.fsf@banana.shacknet.nu> <g10ljf$b1n$1@ubuntu1.ipbo.se> <80y764awmj.fsf@banana.shacknet.nu> <g10p20$cbp$1@ubuntu1.ipbo.se> <80prrfc0t4.fsf@banana.shacknet.nu> <g1156k$ff2$1@ubuntu1.ipbo.se> <80lk23byjy.fsf@banana.shacknet.nu> <g11869$g91$1@ubuntu1.ipbo.se> <80d4nfbwpc.fsf@banana.shacknet.nu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.warnet.at!open-news-network.org!just2write2.myftp.org!not-for-mail Newsgroups: news.software.nntp Organization: Videokopiering Lines: 30 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: hd@ipbo.se NNTP-Posting-Date: Wed, 21 May 2008 14:06:11 +0000 (UTC) In-Reply-To: <80d4nfbwpc.fsf@banana.shacknet.nu> User-Agent: Thunderbird 2.0.0.12 (X11/20080227)