Re: [OT] prune cups job log

2003-06-02 Thread Kevin McKinley
On Mon, 2 Jun 2003 00:26:02 -0700 Vineet Kumar <[EMAIL PROTECTED]> wrote: > Does the MaxJobs directive do what you want? I can't tell precisely > from the docs, with their use of the term "memory", but it sounds like > it might. This may be cleaner than a cron/find/rm job. > > http://www.cups.o

Re: [OT] prune cups job log

2003-06-02 Thread Vineet Kumar
* Alex Polite ([EMAIL PROTECTED]) [030601 00:32]: > The log of our CUPS server is so full that loading the "completed > jobs" in the CUPS www interface takes quite some time. I've been > trying to find out how to prune the log of old jobs with no success. > > Ideas? Does the MaxJobs directive do

Re: [OT] prune cups job log

2003-06-02 Thread Kevin McKinley
On Sun, 1 Jun 2003 22:37:36 +0200 Alex Polite <[EMAIL PROTECTED]> wrote: > Thanks. But the job log doesn't seem to be located with the other cups > logs in /var/log/cups. > > I've also grepped for it like so: > > zgrep smbprn $(locate cups) 2>/dev/null > > With no results. (smbprn is a string

Re: [OT] prune cups job log

2003-06-02 Thread Alex Polite
Climbing up the file tree just a bit further I found the job logs all accumulated under /var/spool/cups A simple cron entry like so: find /var/spool/cups -maxdepth 1 -type f -ctime +7 -exec rm -f {} ';' solves the problem. -- Alex Polite http://plusseven.com/gpg -- To UNSUBSCRIBE, email

Re: [OT] prune cups job log

2003-06-02 Thread Alex Polite
On Sun, Jun 01, 2003 at 09:59:46AM -0400, Kevin McKinley wrote: > On Sun, 1 Jun 2003 09:11:18 +0200 > In /etc/logrotate.d copy one of the existing files to a new file named > "cups" and edit it for the location of the cups log file(s). > > Then go file a wishlist bug against cups, suggesting this

Re: [OT] prune cups job log

2003-06-02 Thread Kevin McKinley
On Sun, 1 Jun 2003 09:11:18 +0200 Alex Polite <[EMAIL PROTECTED]> wrote: > The log of our CUPS server is so full that loading the "completed > jobs" in the CUPS www interface takes quite some time. I've been > trying to find out how to prune the log of old jobs with no success. > > Ideas? In /e

[OT] prune cups job log

2003-06-01 Thread Alex Polite
The log of our CUPS server is so full that loading the "completed jobs" in the CUPS www interface takes quite some time. I've been trying to find out how to prune the log of old jobs with no success. Ideas? alex -- Alex Polite http://plusseven.com/gpg -- To UNSUBSCRIBE, email to [EMAIL PRO