|
I see behavior where the lftp session always hangs running as a script from cron, and the script works when run from the command line.
The ( very simplified ) code :
#!/bin/ksh echo "open ftps://xxxxx.xxxx.com -u xxxxx,xxxxxxx" > /usr/local/bin/lockusr.input echo "debug -o /home/lockusr/USLOCK.tmp.log2" >> /usr/local/bin/lockusr.input echo "dir" >> /usr/local/bin/lockusr.input
/usr/local/bin/lftp -f /usr/local/bin/lockusr.input
exit 0
When I run this from the command line I see progress messages on my terminal. Can these be eliminated ? I wonder id the handling or non-handeling of these messages is causing the system to hang.
Thx for any suggestions,
John Yard UCLA
PS – when I redirect output of the lftp execution itself to a file, it hangs, even run from the command line.
|
- lftp hangs running from cron Yard, John
- Re: lftp hangs running from cron Alexander V. Lukyanov
