Thanks a lot!

Like I said, I already figured there had to be an easy way, and after close
examination of my other cronjobs the solution already dawned on me :)

Thanks a lot Andy!

Dennis


-----Urspr�ngliche Nachricht-----
Von: Andy Grundman [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 15. M�rz 2002 18:04
An: Dennis Apel
Cc: [EMAIL PROTECTED]
Betreff: Re: Problem running lftp -f from crontab


Dennis,

This is a path error, simply add the full path to lftp in your crontab
entry, i.e.:
/usr/local/bin/lftp -f /home/dennis/lftp.helix

Andy

----- Original Message -----
From: "Dennis Apel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 15, 2002 11:00 AM
Subject: Problem running lftp -f from crontab


> Hi there!
>
> I set up lftp to run from crontab, but I always get this error message
> mailed:
>
> From: Dennis Apel <dennis@BWULIN>
> To: dennis@BWULIN
> Subject: cron: lftp -f /home/dennis/lftp.helix
>
> /bin/sh: lftp: command not found
>
> But when I run it normally from the command line, it immediately runs
lftp,
> with the same syntax, without problems - got a guess?
>
> I figure this to be quite easy, but I just don�t find out why it won�t
work
> - but I�m still a Linux newbie, so help would be greatly appreciated!
>
> Ow yeah: here�s my crontab entry: 0 * * * * cd ~; lftp -f
> /home/dennis/lftp.helix
>
> In the lftp.helix I am accessing my ftp account and uploading an html
> file... working normally when run from the command line...
>
> Thanks in advance for your help!!
>
> Mit freundlichen Gr��en
> Dennis Apel
>
>

Reply via email to