From 5405fc43af4410805160aed50df04bc5fc9df869 Mon Sep 17 00:00:00 2001 From: g0vgs Date: Fri, 23 Mar 2001 22:14:05 +0000 Subject: [PATCH] amend FAQ on tmpwatch to correct information --- html/spiderFAQ-2.html | 3 ++- sgml/spiderFAQ.sgml | 4 +++- txt/spiderFAQ.txt | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/html/spiderFAQ-2.html b/html/spiderFAQ-2.html index 0f607e86..125b9d33 100644 --- a/html/spiderFAQ-2.html +++ b/html/spiderFAQ-2.html @@ -71,13 +71,14 @@ take effect.

2.5 How can I automatically limit the amount of debug logfiles that are stored?

-

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 ...

 /usr/sbin/tmpwatch -f 240 /spider/data/debug
 
+

Remember to make it executable!

This will limit your debug data down to the last 10 days


diff --git a/sgml/spiderFAQ.sgml b/sgml/spiderFAQ.sgml index c60216c7..7a3d9e70 100644 --- a/sgml/spiderFAQ.sgml +++ b/sgml/spiderFAQ.sgml @@ -114,12 +114,14 @@ take effect. How can I automatically limit the amount of debug logfiles that are stored?

-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 ... /usr/sbin/tmpwatch -f 240 /spider/data/debug +Remember to make it executable! + This will limit your debug data down to the last 10 days diff --git a/txt/spiderFAQ.txt b/txt/spiderFAQ.txt index de1fcd4d..ecd96265 100644 --- a/txt/spiderFAQ.txt +++ b/txt/spiderFAQ.txt @@ -142,7 +142,8 @@ 22..55.. HHooww ccaann II aauuttoommaattiiccaallllyy lliimmiitt tthhee aammoouunntt ooff ddeebbuugg llooggffiilleess tthhaatt aarree ssttoorreedd?? - 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 ... @@ -151,10 +152,9 @@ - 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 -- 2.43.0