Probably working too hard for this cron question
Warren Block
wblock at wonkity.com
Tue Jun 14 16:44:21 UTC 2011
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.
More information about the freebsd-questions
mailing list