From owner-freebsd-isp Thu May 20 21:17:45 1999 Delivered-To: freebsd-isp@freebsd.org Received: from hecate.webcom.com (hecate.webcom.com [209.1.28.39]) by hub.freebsd.org (Postfix) with ESMTP id 58B4D14ECA for ; Thu, 20 May 1999 21:17:41 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hecate.webcom.com (8.9.1/8.9.1) with SMTP id WAA01436; Thu, 20 May 1999 22:17:34 -0700 Received: from [204.143.69.23] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 34273125; Thu May 20 21:13 PDT 1999 Message-Id: <3745088D.61C@echidna.com> Date: Fri, 21 May 1999 00:17:33 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: Enno Davids Cc: freebsd-isp@freebsd.org Subject: Re: Web Statistics break up program. References: <199905210016.KAA08044@metva.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Enno Davids wrote: > So, the middle of the loop above wants to be something like... > > mv ${log} ${log}"_tmp" > cp /dev/null ${log} > chown www ${log} > apachectl restart > mv ${log}"_tmp" ${ARCDIR}/${log}.${DAY} Why are the steps > cp /dev/null ${log} > chown www ${log} necessary? -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message