| ||||||||||||||||
|
У меня так: ------------------ #!/bin/sh NEW_FILE=$(echo "access_log.`date '+%d.%m.%Y'`") cd /usr/local/apache/logs /bin/mv access_log $NEW_FILE /usr/local/apache/bin/apachectl restart /bin/bzip2 $NEW_FILE exit 0 ------------------ Вроде, работает ;) (по крайней мере с analog'ом) Serg ============================================================================= = Apache-Talk@xxxxxxxxxxxxx mailing list = Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit. = Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE. Copyright (C) 1995-2001 The Apache Group. All rights reserved. Copyright (C) 1996 Dm. Kryukov; Copyright (C) 1997-2009 |
|
|