in reply to Flocking in advance
First, if you want to stick to that approach, use a second (empty) file to do the locking on. Your (perl written?) compiler tries to get a lock on that file and doesn't do anything until he gets it (or maybe a timeout occurs).
Another option is to use unique file names for the output, so multiple submissions can be made at any time. You might use a combination of username and timestamp, for example.
Andreas
|
|---|