[CRON] Recommended FTP client to download and upload files?
gilles.ganault at free.fr
Sat May 10 00:24:11 UTC 2008
On Sat, 10 May 2008 01:53:13 +0200, Gilles <gilles.ganault at free.fr>
>It looks like lftp is not running like I thought it would
Found what it was: The script worked fine when ran manually, but
failed when ran by CRON because it couldn't locate lftp:
Downloading from Source FTP
/var/sync.bash: line 3: lftp: command not found
Uploading to Target FTP
/var/sync.bash: line 6: lftp: command not found
Moral of the story: Start by leaving error messages as is before
redirectering them to /dev/null once the script proved to work.
More information about the freebsd-questions