Hi,

Scripts which run from the command line and not from cron are almost
all either environment issues or security/permission issue.

I am not sure of your skill level, but I would test with calling a
different test shell script in your home dir.

For example:

!#/usr/bin/ksh

echo "my test" > /home/dirnamehere/filename.test

See if that works.

Lastly, google has some shell scripting forums and I think you would
get helllp there. (I troll there sometimes)

http://groups.google.com/group/comp.unix.shell/topics?hl=en&lnk

L8tr



On Sun, Sep 21, 2008 at 12:20 AM, Said Nurhussein <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm having difficuly with running lftp from cron on Solaris 8 machine.
>
> /usr/local/bin/lftp -f <script-file> works ok from the command line.
> But doesn't execute at all from cron.
> I even tried adding echo and debug commands in the lftp script
> file but don't get any output form the script.
>
> Thanks
>
>
>
> ________________________________
>> Date: Fri, 19 Sep 2008 18:55:33 -0300
>> From: [EMAIL PROTECTED]
>> Subject: lftp man page: cmd:parallel is not boolean
>> To: [email protected]
>>
>>
>> lftp's man page has a couple bugs, in that it describes at these two
>> numeric options as boolean:
>>
>> cmd:parallel (boolean))Number of jobs...
>> cmd:queue-parallel (boolean) Number of jobs...
>>
>> The other "boolean" options all look properly boolean to me, but I
>> didn't check for other things being mislabeled.
>>
>> BTW, I love lftp. :)
>>
>> happy hacking,
>>
>> --
>> #define X(x,y) x##y
>> Peter Cordes ; e-mail: X([EMAIL PROTECTED] , des.ca)
>>
>> "The gods confound the man who first found out how to distinguish the
>> hours!
>> Confound him, too, who in this place set up a sundial, to cut and hack
>> my day so wretchedly into small pieces!" -- Plautus, 200 BC
>
> ________________________________
> Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie.
> Learn Now

Reply via email to