Re: CUPS: cleanning up
On Fri, Sep 05, 2003 at 03:59:55PM +0300, Jerome BENOIT wrote:
> Hello All,
>
> a few minutes ago, I realized that my `/var/spool/cups' directory
> was full of former `jobs': `du -sh' gave `178M'.
>
> Is there a way to clean periodicaly this directory ?
I tried this script from cron. But for some reason cups didn't come up
again restart so I had to delete the cron entry. Maybe some kind soul
can tell me why and make me and Jerome happy.
...
find /var/spool/cups -maxdepth 1 -type f -ctime +7 -exec rm -f {} ';'
/etc/init.d/cupsys restart
...
--
Alex Polite
http://plusseven.com/gpg
Reply to: