If you're judging by received file size, is it not more likely that the FTP hangs up in the middle?
Unless Archive::Tar makes use of threads or forks off a process, then it seems unlikely that FTP starts before tar finishes.
One other possibility is that tar->write is filling the disk, fails, and then the FTP starts.
We need more info to help you out.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re: perl script and cron
by QM
in thread perl script and cron
by snyder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |