[PLUG] Script Question

Paul Heinlein heinlein at madboa.com
Wed Oct 13 14:17:02 UTC 2004


On Wed, 13 Oct 2004, R Haack wrote:

> I have a shell script that I created that runs a couple of Linux 
> commands.  The problem I'm having is that I can run it from the 
> command prompt and it works exactly as I expected, but when I run it 
> from a cron job only one of the two commands run, the last one. 
> Any ideas on what I can check to make this work?

My first hunch is that the command that doesn't run is in /usr/local 
or some other directory that's not in the default cron $PATH. Try 
specifying the full path to the program and see if that helps.

-- Paul Heinlein <heinlein at madboa.com>




More information about the PLUG mailing list