laziness, impatience, and hubris | |
PerlMonks |
Re: Cron Job??by diskcrash (Hermit) |
on Apr 04, 2001 at 00:58 UTC ( [id://69475]=note: print w/replies, xml ) | Need Help?? |
kschwab makes a very good point. How do you know when the transfer is done? I used the following to see if the file was modified at least ten seconds ago (Hopefully avoiding a race condition):
I haven't actually seen a race condition, but, like kschwab, worried about it. I would take advice on any (more coherent) means of assuring a file was closed. -Diskcrash
In Section
Seekers of Perl Wisdom
|
|