Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 18:21:13 -0800
From:      Chris Stankevitz <chris@stankevitz.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   passing -t to newsyslog
Message-ID:  <37474b63-e395-b1e2-6dcf-114dfaa36fc1@stankevitz.com>

next in thread | raw e-mail | index | archive | help
Hi,

I want to pass -t to newsyslog so that archived log files have a useful 
date/time suffix vs an obnoxious numeric suffix.

Apparently freebsd uses /etc/crontab to launch newsyslog.  The manual 
tells me to not edit /etc/crontab [1]

How should I get my freebsd system to append date/time to archived 
logfile names?

[1] https://www.freebsd.org/doc/handbook/configtuning-cron.html

Thank you,

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37474b63-e395-b1e2-6dcf-114dfaa36fc1>