Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-03-25 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.