From owner-freebsd-newbies@FreeBSD.ORG Fri Feb 27 02:43:20 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 417B816A4CE for ; Fri, 27 Feb 2004 02:43:20 -0800 (PST) Received: from mail1.interlite.net (ns1.interlite.net [62.119.93.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7257F43D1D for ; Fri, 27 Feb 2004 02:43:19 -0800 (PST) (envelope-from pelle@spd.nu) Received: (qmail 11677 invoked by uid 89); 27 Feb 2004 11:36:27 +0100 Received: from unknown (HELO pelle) (62.119.94.78) by mail1.interlite.net with SMTP; 27 Feb 2004 11:36:27 +0100 From: "Pelle Andersson (SPD Systems AB)" To: Date: Fri, 27 Feb 2004 11:43:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 In-Reply-To: <20040227100419.0E29243D2D@mx1.FreeBSD.org> Thread-Index: AcP9GQu0Mvc5BTReR5GQkj6b+q1NmAABRzsA X-Spam-DCC: : X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on server1.interlite.net X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=LINES_OF_YELLING, MISSING_OUTLOOK_NAME autolearn=no version=2.60 Message-Id: <20040227104319.7257F43D1D@mx1.FreeBSD.org> Subject: Re: Crontab & Newsyslog Questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pelle@spd.nu List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 10:43:20 -0000 Hi again! Solved the Crontab functions =3D) Its working, just needed to reboot... Now is the newsyslog the only matter... Thanks.. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D BEST REGARDS/MVH PELLE ANDERSSON SYSTEM AND NETWORK ENGINEER SPD SYSTEMS AB WWW.SPD.NU =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D -----Ursprungligt meddelande----- Fr=E5n: owner-freebsd-newbies@freebsd.org [mailto:owner-freebsd-newbies@freebsd.org] F=F6r Pelle Andersson (SPD = Systems AB) Skickat: den 27 februari 2004 11:04 Till: freebsd-newbies@freebsd.org =C4mne: Crontab & Newsyslog Questions Hi! ::NEWSYSLOG:: ------------- I want to rotate and pack my logs for Qpopper and ProFTPD This is my = lines in '/etc/newsyslog.conf': #------------------ /var/log/qpopper.log root:root 640 7 * @T00 Z /var/log/proftp.log root:root 640 7 * @T00 Z=20 #------------------ It does not work =3D( What do I need to do? Any suggestions? ::CRONTAB:: Im trying to run a shellscript for setting the time against a NTP = server. Im also want to run the analog program for Apache2 logs. The lines in '/etc/crontab': #------------------ 0 * * * * root ntpdate.sh 0 * * * * root analog=20 #------------------ I also added the paths to this script & program like this: PATH=3D./:/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/et= c/rc. d/=20 Neither of them is running? Is this possible at all? FreeBSD verion is 4.9 A big thanks in advance =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D BEST REGARDS/MVH PELLE ANDERSSON SYSTEM AND NETWORK ENGINEER SPD SYSTEMS AB WWW.SPD.NU =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to = "freebsd-newbies-unsubscribe@freebsd.org"