From owner-freebsd-questions@freebsd.org Thu Oct 26 17:01:54 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 31F6CE4E51C for ; Thu, 26 Oct 2017 17:01:54 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA2DD1652 for ; Thu, 26 Oct 2017 17:01:52 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.11] ([76.183.153.52]) by cmsmtp with ESMTPA id 7lXJeXHhzfblG7lXMe3gDS; Thu, 26 Oct 2017 17:01:45 +0000 Date: Thu, 26 Oct 2017 12:01:41 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Adam Vande More cc: FreeBSD Questions Subject: Re: Strange periodic problem Message-ID: In-Reply-To: References: <99E0408A95C01319659D7EFF@Pauls-MacBook-Pro.local> <4E78133D6588A3580F02D8D1@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfIw11OMZ9M3CTiPveJ+lJSgg7MulCBBe4vqjHn3JI3wN+Gl6J6AWYw2XO51toPZrIo0IZHyBqUWeQcOdoiqMNsWl5aUVNhVMoutjtd+4gCo04620TrJ0 AZ2jPcgrR2J1xsrccCNwCVStQqMon0dIbDj1PiQwzgMCe62GJAkITB5U69LnGoNCXrrcFhJty0VCq2Xva5ivSB7wzVxLQvRlmApcZ2mC5YPVSz2u/MZChTq4 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: Thu, 26 Oct 2017 17:01:54 -0000 --On October 24, 2017 at 8:18:35 AM -0500 Adam Vande More wrote: > On Tue, Oct 24, 2017 at 12:10 AM, Paul Schmehl > wrote: > >> No. But that was a really good question, because now that I look at it >> *none* of the periodic scripts are running. Strange. >> > ># /etc/rc.d/cron restart ># /etc/rc.d/cron status > > Ensure it is running. Most likely it would log something to > /var/log/messages about the attempt. > > Another option is to start cron in the foreground and examine it's output. Cron is running. I added -x sch to see what it would log. After further analysis, the jobs are running fine. (For example, the db backup that started this thread is running find, backing up every day.) I'm not getting the email. I used to get emails daily with the periodic jobs, but those are no longer coming. I didn't notice they had stopped, because I get so much email it's easy to miss (and most of it is inconsequential anyway. Hundreds of breakin attempts to ssh, and that sort of thing. Still investigating. There's nothing of any consequence in /var/log/messages, and /var/log/cron apparently doesn't log periodic jobs. I'm hoping setting the debug flag will reveal more information. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell