MACSCRPT Archives

July 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Simon Dorfman <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 24 Jul 2006 14:05:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
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

ATOM RSS1 RSS2