From owner-freebsd-questions@freebsd.org Wed Feb 22 02:21:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04CC2CE9414 for ; Wed, 22 Feb 2017 02:21:22 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from mango.stankevitz.com (mango.stankevitz.com [208.79.93.194]) by mx1.freebsd.org (Postfix) with ESMTP id E9E599E7 for ; Wed, 22 Feb 2017 02:21:21 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from stink.local (ip68-6-118-128.sb.sd.cox.net [68.6.118.128]) by mango.stankevitz.com (Postfix) with ESMTPSA id EDA4674198 for ; Tue, 21 Feb 2017 18:21:14 -0800 (PST) To: FreeBSD Questions From: Chris Stankevitz Subject: passing -t to newsyslog Message-ID: <37474b63-e395-b1e2-6dcf-114dfaa36fc1@stankevitz.com> Date: Tue, 21 Feb 2017 18:21:13 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 02:21:22 -0000 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