From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 16:44:21 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCBF0106566B for ; Tue, 14 Jun 2011 16:44:21 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAB28FC1C for ; Tue, 14 Jun 2011 16:44:21 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p5EGiKYi012331; Tue, 14 Jun 2011 10:44:20 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p5EGiKHI012328; Tue, 14 Jun 2011 10:44:20 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 14 Jun 2011 10:44:20 -0600 (MDT) From: Warren Block To: Kurt Buff In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 14 Jun 2011 10:44:20 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Probably working too hard for this cron question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 16:44:21 -0000 On Mon, 13 Jun 2011, Kurt Buff wrote: > Per the handbook, I added > > SHELL=/bin/sh > > to crontab, and I also added > > #!/bin/sh > > as the first line in the script Should not need both. The first changes a default, which is bad when you switch to another system where that hasn't been changed. The second, putting #!/bin/sh in the script, should be enough.