Date: Tue, 24 Feb 2004 17:59:46 +0000 From: Peter Risdon <peter@circlesquared.com> To: mathias@haas.se Cc: questions@freebsd.org Subject: Re: Shell scripting woes Message-ID: <403B9112.1080503@circlesquared.com> In-Reply-To: <51804.193.14.163.194.1077641809.squirrel@mail.haas.se> References: <51804.193.14.163.194.1077641809.squirrel@mail.haas.se>
next in thread | previous in thread | raw e-mail | index | archive | help
mathias@haas.se wrote: >Hello guys! I have two questions about shellscripts: > > >2) The same backup job - is written as a bash script, and it works >perfectly when run by hand, but it won't run as a cron job. > Are you using a full path in the shebang at the top of the script? Such as: #!/bin/sh or #!/usr/local/bin/bash or whatever. PWR.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403B9112.1080503>