Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 19:22:11 -0300
From:      =?iso-8859-1?q?Jos=E9_Pablo_Fern=E1ndez?= <pablo.fernandez@rs.com.ar>
To:        freebsd-questions@freebsd.org
Subject:   Logrotating and running a command
Message-ID:  <200703161922.12086.pablo.fernandez@rs.com.ar>

next in thread | raw e-mail | index | archive | help
Hello,
I need to rotate some logs, but instead of getting the PID out of a file an=
d=20
sending a SIGHUP to that process, like newsyslog does, I need to run a=20
command.
Is that possible with newsyslog? how should I do it?
Thank you.
=2D-=20
Jos=E9 Pablo Fern=E1ndez
pablo.fernandez@rs.com.ar



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