SavaPage

Open Print Portal

User Tools

Site Tools


howto:cups:logrotate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howto:cups:logrotate [2019/09/11 21:58]
rijk created
howto:cups:logrotate [2019/09/16 10:26] (current)
rijk [anacron: logrotate daily at 6:35am]
Line 50: Line 50:
  
  
-==== logrotate daily at 6:35am ====+==== anacron: ​logrotate daily at 6:35am ====
  
 <code bash> <code bash>
Line 58: Line 58:
 <​code>​ <​code>​
 30 6    * * *   ​root test -x /​etc/​init.d/​anacron && /​usr/​sbin/​invoke-rc.d anacron start  30 6    * * *   ​root test -x /​etc/​init.d/​anacron && /​usr/​sbin/​invoke-rc.d anacron start 
 +</​code>​
 +
 +==== Change time interval ====
 +
 +[[https://​www.linux.org/​docs/​man5/​logrotate.html|man logrotate]]
 +
 +<code bash>
 +sudo vi /​etc/​logrotate.d/​cups-daemon
 +# change daily to weekly, monthly, yearly
 </​code>​ </​code>​
  
howto/cups/logrotate.1568231903.txt.gz ยท Last modified: 2019/09/11 21:58 by rijk