Re: clearing history

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

 



2011/1/10 Jorge Fábregas <jorge.fabregas@xxxxxxxxx>:
> On 01/10/2011 03:51 PM, Parshwa Murdia wrote:
>>  if we want to clear the history of these files (if are created) in Fedora,
>>  how can we do?
>
> If your "clear the history" means to remove temporary files... There are
> directories designated for temporary stuff (/var/tmp and /tmp) and there
> is a program called "tmpwatch" which runs by means of:
>
> /etc/cron.daily/tmpwatch
>
> ...which rruns daily and cleans old files in these directories.  You, as
> a regular user, don't usually need to take care of this.

$  cat /etc/cron.d/tmpwatch
# run tmpwatch everyday at midnight
0 0 * * *	root	/usr/sbin/tmpwatch -umc 120 /tmp

This should clean your temporary files every five days (120 hrs). You
can change the 120 to suit your needs.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
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


[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