From owner-freebsd-questions@freebsd.org Wed Feb 22 03:19:43 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 251B3CE74B2 for ; Wed, 22 Feb 2017 03:19:43 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wr0-x233.google.com (mail-wr0-x233.google.com [IPv6:2a00:1450:400c:c0c::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C106712E3 for ; Wed, 22 Feb 2017 03:19:42 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wr0-x233.google.com with SMTP id s27so46672364wrb.2 for ; Tue, 21 Feb 2017 19:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fCmUaZM0Ge0cvpT1A8UlTOmXzqQ6gtUoyjXYX0+EZk4=; b=ChavL4t1X0zZGXbF50IWxc9oT5QUSkc0KrZ7IurBJyfcMDbhqoRdICcEJ7CKaOdfCm Ny68LkI6Llm2kuU3Z2mONyocZLnsgAKpInRpkYjbrylHtE02JJg+locivQolxIvqnbVd LWDtVln/JIKBIZKvbsTLSUdzD4m7J6/l0q3oj0oxawB7aTv/VsgGhyKO4fnP09BauwFL b1q6FDRWOC/daf3yVxhAjx0ds5j7x38VxhmQQG+QfT7eEXewBZiRnX/jS/12r/iNA5MF h4Eim0PHgirsPeJ9SacuT4IFp81q4z8ml15I1nj39LYOfbkjrUgyxSJMYmsai1b6oH3B 1OEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fCmUaZM0Ge0cvpT1A8UlTOmXzqQ6gtUoyjXYX0+EZk4=; b=ILZweKc8LqTgNQt4Ak0qPczGNC0SyZLzM95Y9F02sF38dzNZqC/eRUMjHTJpNp0/5e ofkQhpeq0BtAz7mrkr2pI2ajDpQe2BxwlJwu49HKCVxiumGJWuAiTfZZao4xwTBERymM Pg866fm4tsA817dNsC1nU95HE8I34IM9Zz24VW5dztpgKW51tYJKRwlx9Cwgbu0v6R/5 sGR8ftdRBwH/5jX3q5p34HtKUTTViOSzILm4BdCL6TUQ8G6i7l6rS/SAqH7XK0HdCCxZ MzUmdHO9UfnM4X7F8RghszyD4fsKF+KOd6ECx8vUSZUW+Zx57dK9rYM5xvkxLMz+8Hnv ZVfw== X-Gm-Message-State: AMke39mQ+r23awNe4w91zLKcVxqMeywwCzRIu4U45jOO9/vJJ0qTRmksouGe+TENcbLBVPJ++4/vEVpX+5TmQQ== X-Received: by 10.223.136.143 with SMTP id f15mr10600660wrf.68.1487733581302; Tue, 21 Feb 2017 19:19:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.164.65 with HTTP; Tue, 21 Feb 2017 19:19:40 -0800 (PST) In-Reply-To: <269158b4-7b03-a509-adf7-7aab106a8dbf@stankevitz.com> References: <37474b63-e395-b1e2-6dcf-114dfaa36fc1@stankevitz.com> <20170222033008.6550f098.freebsd@edvax.de> <269158b4-7b03-a509-adf7-7aab106a8dbf@stankevitz.com> From: Adam Vande More Date: Tue, 21 Feb 2017 21:19:40 -0600 Message-ID: Subject: Re: passing -t to newsyslog To: Chris Stankevitz Cc: Polytropon , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 03:19:43 -0000 On Tue, Feb 21, 2017 at 8:36 PM, Chris Stankevitz wrote: > > I want "-t" to be passed when newsyslog is run hourly... not when it is > run once when the system boots for the purpose of creating log files. > > Per "man rc.conf": > > newsyslog_enable is used to run newsyslog one time at boot to create > missing log files. newsyslog_enable does not cause newsyslog to > continuously run. > > Per /etc/crontab: > > newsyslog is run periodically via en entry in /etc/crontab. newsyslog is > called without any arguments. There is no law preventing you from editing /etc/crontab. I imagine that bit of advice is there so the system's crontab isn't broken. Setting correct locale may also fulfill your desires assuming LC_TIME is read. -- Adam