<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "定期刪除/var/log/httpd下的log檔"]]></title>
		<link>http://www.andowson.com/posts/list/18.page</link>
		<description><![CDATA[Latest messages posted in the topic "定期刪除/var/log/httpd下的log檔"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>定期刪除/var/log/httpd下的log檔</title>
				<description><![CDATA[ 在/var/log/httpd目錄下可能包含一堆log檔，定期自動刪除可以空出更多硬碟空間，假設每個月執行一次，可以在/etc/crontab設定如下：<br /> [code]<br /> 48 04 1 * * root find /var/log/httpd -name "*.log*" -atime +30 -type f -print0 | xargs -0 /bin/rm -f<br /> [/code]<br /> 其他目錄下的log檔也可比照辦理。]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/258/417.page</guid>
				<link>http://www.andowson.com/posts/preList/258/417.page</link>
				<pubDate><![CDATA[Mon, 28 Jul 2008 10:44:39]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>
