Re: fix dates in newsyslog

2011-11-22 Thread Philip Guenther
On Tue, Nov 15, 2011 at 8:46 AM, Peter Hessler wrote: > jeremy@ noticed that when newsyslog is set to rotate files once a month, > it will always show the current calendar month for the "next trim" time, > even if that is in the past. This accidentally worked, because we would > only rotate if we

fix dates in newsyslog

2011-11-15 Thread Peter Hessler
jeremy@ noticed that when newsyslog is set to rotate files once a month, it will always show the current calendar month for the "next trim" time, even if that is in the past. This accidentally worked, because we would only rotate if we were within the same hour as the next trim time. $ date && ne