Maybe crontab runs it under a different user that doesn't have your
.bashprofile or somesuch? Just guessing.
On 7/24/06 12:33 PM, "Duane Mitchell" <[log in to unmask]> wrote:
> Hello,
>
> I've got a script that contains a short "do shell perl ..." line in it. I run
> the line from the Terminal and it works. I save the script as an application
> and double-click it and it works. I have crontab launch the script application
> and I get an error message: "sh: line 1: perl: command not found"
>
> I checked the env info for the current logged in user and the path to perl is
> included. I'm stumped...suggestions anybody...thanks.
>
> -Duane Mitchell