Re: [CRON] Recommended FTP client to download and upload files?
- From: Gilles <gilles.ganault@xxxxxxx>
- Date: Sat, 10 May 2008 02:23:45 +0200
On Sat, 10 May 2008 01:53:13 +0200, Gilles <gilles.ganault@xxxxxxx>
wrote:
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.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Prev by Date: Re: coretemp 70C = CPU too hot?
- Next by Date: How to config ipv6 for this instance
- Previous by thread: Re: [CRON] Recommended FTP client to download and upload files?
- Next by thread: [6.3] Keeping host up to date
- Index(es):