<H2><A NAME="ss2.5">2.5 How can I automatically limit the amount of debug logfiles that are stored?</A>
</H2>
-<P>Use the tmpwatch command. Add a line in /etc/cron.daily like this ...
+<P>Use the tmpwatch command. Create a file in /etc/cron.daily/ containing the line ...
<P>
<BLOCKQUOTE><CODE>
<PRE>
/usr/sbin/tmpwatch -f 240 /spider/data/debug
</PRE>
</CODE></BLOCKQUOTE>
+<P>Remember to make it executable!
<P>This will limit your debug data down to the last 10 days
<P>
<HR>
<sect1>How can I automatically limit the amount of debug logfiles that are stored?
<P>
-Use the tmpwatch command. Add a line in /etc/cron.daily like this ...
+Use the tmpwatch command. Create a file in /etc/cron.daily/ containing the line ...
<tscreen><verb>
/usr/sbin/tmpwatch -f 240 /spider/data/debug
</verb></tscreen>
+Remember to make it executable!
+
This will limit your debug data down to the last 10 days
</article>
2\b2.\b.5\b5.\b. H\bHo\bow\bw c\bca\ban\bn I\bI a\bau\but\bto\bom\bma\bat\bti\bic\bca\bal\bll\bly\by l\bli\bim\bmi\bit\bt t\bth\bhe\be a\bam\bmo\bou\bun\bnt\bt o\bof\bf d\bde\beb\bbu\bug\bg l\blo\bog\bgf\bfi\bil\ble\bes\bs t\bth\bha\bat\bt
a\bar\bre\be s\bst\bto\bor\bre\bed\bd?\b?
- Use the tmpwatch command. Add a line in /etc/cron.daily like this ...
+ Use the tmpwatch command. Create a file in /etc/cron.daily/
+ containing the line ...
- This will limit your debug data down to the last 10 days
-
-
+ Remember to make it executable!
+ This will limit your debug data down to the last 10 days