Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 11:43:15 +0100
From:      "Pelle Andersson (SPD Systems AB)" <pelle@spd.nu>
To:        <freebsd-newbies@freebsd.org>
Subject:   Re: Crontab & Newsyslog Questions
Message-ID:  <20040227104319.7257F43D1D@mx1.FreeBSD.org>
In-Reply-To: <20040227100419.0E29243D2D@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227104319.7257F43D1D>