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

Re: Limiting CUPS "Completed Jobs" Listing



On Wed, Sep 29, 2004 at 05:31:28PM +0700, I_MY_MLs_j wrote:
> All -
[...]
> On the testing system, I have ~90 entries in the "Completed Jobs" page of the web interface, dating from 
> June to today (September).  It takes about 5 pages to list them all.  I don't care about any job that was 
> completed months ago so would like to limit the number of jobs listed in the "Completed Jobs" page to 
> about a page or so (~ 10-20 jobs), or perhaps list only those jobs completed in the 15-30 days.
> 
> I looked in the docs and it seemed that "MaxPrinterHistory" may do the job, so I changed 
> /etc/cups/cupsd.conf, MaxPrinterHistory to 50.  After a reboot, I saw no change to the number of jobs 
> listed.
> 
> I don't see a way to limit the number of jobs listed, or a means to purge the job listing.  Can someone 
> help?

I think this is what you want:

# MaxJobs: maximum number of jobs to keep in memory (active and completed.)
# Default is 500; the value 0 is used for no limit.
#
#MaxJobs 500
MaxJobs 50

> 
> -TIA

-- 
Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.



Reply to: