Article View: news.software.nntp
Article #18868Re: Control Group
From: Gary Palmer
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
24 lines
1641 bytes
1641 bytes
In article <5p0unk$amb@tor-nn1-hb0.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) writes: > In article <5omvp6$r05@news.webspan.net>, Gary Palmer <gpalmer@SPAM.webspan.net> wrote: >> >>(cd /var/spool/news/control/cancel ; rm *) once an hour. > > Aren't you in danger of exceeding your shell's argument list limit > like that? Or do you really do something more along the lines of: > > mount -uo async /spool/control ; cd /spool/control/cancel ; ls | xargs rm Yep, it is the ls | xargs rm solution I use, but on the other hand I wasn't actually posting the script I use, just what it basically does :) And Brian, you should know I'd be running FreeBSD :-) Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
Technical Details
Message-ID:
<5p75u1$t1g@news.webspan.net>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:
<5ojg51$t4t@shell.monmouth.com> <5olukl$i7j@darkmere.gen.nz> <82g1u9wd6e.fsf@manic.eecs.umich.edu> <5omvp6$r05@news.webspan.net> <5p0unk$amb@tor-nn1-hb0.netcom.ca>Show Full Headers
Complete Article Headers
Message-ID: <5p75u1$t1g@news.webspan.net> Subject: Re: Control Group Date: Mon, 30 Jun 1997 00:00:00 +0000 From: gpalmer@SPAM.webspan.net (Gary Palmer) References: <5ojg51$t4t@shell.monmouth.com> <5olukl$i7j@darkmere.gen.nz> <82g1u9wd6e.fsf@manic.eecs.umich.edu> <5omvp6$r05@news.webspan.net> <5p0unk$amb@tor-nn1-hb0.netcom.ca> 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: 253528278 Sender: gpalmer@mutara.noc.webspan.net X-Report-Abuse-To: abuse@mail.webspan.net Organization: WebSpan Inc., New Jersey NNTP-Posting-Date: 29 Jun 1997 22:33:37 EDT Newsgroups: news.software.nntp