Re: Cleaning /tmp

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

 




Am 03.03.2012 18:35, schrieb Frank Murphy:
> On 03/03/12 17:18, Reindl Harald wrote:
>> cat /etc/cron.daily/tmpwatch
>>
>> #! /bin/sh
>>
>> flags=-umc
>>
>> /usr/sbin/tmpwatch "$flags" -x/tmp/.X11-unix -x /tmp/.XIM-unix \
>>          -x/tmp/.font-unix -x/tmp/.ICE-unix -x/tmp/.Test-unix \
>>          -X '/tmp/hsperfdata_*' 1d /tmp
>> /usr/sbin/tmpwatch "$flags" 1d /var/tmp
>> for d in/var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
>>      if [ -d "$d" ]; then
>>          /usr/sbin/tmpwatch "$flags" -f 1d "$d"
>>      fi
>> done
> 
> Will the next update of tmpwatch overwrite this.

maybe, do it in a /etc/cron.daily/tmpwatch-personalized

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux