Article View: news.software.nntp
Article #26777Re: Deleting control.cancel
From: Yar Tikhiy
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
30 lines
1601 bytes
1601 bytes
Peter Augustin wrote: PA> I use in root's crontab: PA> mv /var/news/spool/articles/control/cancel PA> /var/news/spool/articles/control/cancel.old && rm -rf PA> /var/news/spool/articles/control/cancel.old/ PA> But I experience that about each 2 days inn shuts down without any error PA> message, except mails from cron to root stating: PA> mv: /var/news/spool/articles/control/cancel: No such file or directory PA> How can I remove control.cancel correctly? I'd suggest creating control.cancel after mv, because inn would not create it itself (note, that subdirs in control/ are magic) We use that for years: 2 * * * * /bin/mv /var/news/spool/articles/control/cancel /var/news/spool/articles/control/cancel.0; /bin/mkdir /var/news/spool/articles/control/cancel; /bin/rm -rf /var/news/spool/articles/control/cancel.0 You'll receive "mkdir: /var/news/spool/articles/control/cancel: File exists" sometimes, but is seems quite harmless. Any further suggestions? SY, Yar
Technical Details
Message-ID:
<6e8fb7$po0$1@comp.chem.msu.su>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<35076EAB.A5812FF1@inode.at>Show Full Headers
Complete Article Headers
Message-ID: <6e8fb7$po0$1@comp.chem.msu.su> Subject: Re: Deleting control.cancel Date: Thu, 12 Mar 1998 00:00:00 +0000 From: Yar Tikhiy <yar@comp.chem.msu.su> References: <35076EAB.A5812FF1@inode.at> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 333301292 X-FTN-Tearline: Tin 1.3 unoff Organization: Chemistry Department, MSU Newsgroups: news.software.nntp X-FTN-Realname: Yar Tikhiy