LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-30-2006, 10:39 AM   #1
AlanSecker
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Red Hat
Posts: 35

Rep: Reputation: 0
CUPS - Completed Jobs


I would like to purge the completed print jobs list showing up under CUPS.
Anyone know how to do this?
 
Old 12-31-2006, 09:59 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
As root do;

service cups stop
rm -r /var/spool/cups
service cups start

You can if desired save the above three commands as a script file and make the file excutable. Example the filename is ClearCups and the file has the three lines within, when done saving the file to root's bin directory as root do; chown +x ClearCups

Then all you have to in the future is type in the script file name; ClearCups

You can also make this a cron job which runs daily, weekly or?????
 
Old 12-31-2006, 11:37 AM   #3
AlanSecker
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Red Hat
Posts: 35

Original Poster
Rep: Reputation: 0
Thank you.
 
Old 12-31-2006, 12:35 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Your welcome, glad to help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cups - deleting print jobs mikejd Linux - Software 11 05-15-2007 08:48 AM
CUPS v6 Windows Driver Printing Preferences--"Operation could not be completed" meself88 Linux - General 1 07-12-2006 07:44 AM
Cancelling Jobs in CUPS AcerKev Linux - Networking 2 12-29-2005 01:54 PM
cups aborts print jobs sneak Linux - Software 0 11-09-2004 04:45 PM
Keep a record of print jobs with cups exodist Linux - Software 3 11-02-2004 04:48 PM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration