projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amend FAQ on tmpwatch to correct information
[spider.git]
/
sgml
/
spiderFAQ.sgml
diff --git
a/sgml/spiderFAQ.sgml
b/sgml/spiderFAQ.sgml
index c60216c7f53e517e4e3b6aace143431f66c35c61..7a3d9e70ecdb6957d45ad7cce6f7b1d598cfeee5 100644
(file)
--- a/
sgml/spiderFAQ.sgml
+++ b/
sgml/spiderFAQ.sgml
@@
-114,12
+114,14
@@
take effect.
<sect1>How can I automatically limit the amount of debug logfiles that are stored?
<P>
<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>
<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>
This will limit your debug data down to the last 10 days
</article>