Date: Tue, 14 Jun 2011 10:44:20 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Kurt Buff <kurt.buff@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Probably working too hard for this cron question Message-ID: <alpine.BSF.2.00.1106141043010.12281@wonkity.com> In-Reply-To: <BANLkTikJLpb-PQKWbuyX1F7GWzW1jMpirA@mail.gmail.com> References: <BANLkTimD4DaYtvDmiJ4=qaj3CNsKr=XHNQ@mail.gmail.com> <BANLkTinCFMqGBx0jkbRH-J03wNkQaPOo7Q@mail.gmail.com> <BANLkTikJLpb-PQKWbuyX1F7GWzW1jMpirA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1106141043010.12281>