Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: how to tell if a file is still being modified

by sandfly (Beadle)
on Sep 17, 2003 at 22:16 UTC ( #292275=note: print w/ replies, xml ) Need Help??


in reply to Re: how to tell if a file is still being modified
in thread how to tell if a file is still being modified

This doesn't really do the job - you've just shifted the problem from one machine to another. How do you know the file is ready to get?

This is unrelated, but where possible I would recommend getting files rather than putting them. I have found it much easier to set up UATs, parallel runs and so on with this arrangement.

I've used variations on most of the methods mentioned above:

  • polling the checksum, mod time or size;
  • trigger files;
  • trailer records;
  • renaming or moving to another directory.

I favour trigger files. I have to admit that I've spent far more time worrying about the possible problems than actually encountering them.


Comment on Re: Re: how to tell if a file is still being modified

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://292275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-07-31 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls