in reply to (Ovid) Re: Writing to a file
in thread Writing to a file
and we have over 200,000 wkstations here were the script is supposed to run. I thought about writing to different files too, but the sheer number of temp log files generated make this impractical, and the extra code to put these files back by date/time stamp and then unlink("$tmp_file") is also needed. I was wondering if there is a way in perl to know if the file is being written too currently, and if its is being wriiten to wait until no other process is writing to it.system("rshto $wks myscript.prl >> $tmp_file");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Ovid) Re: Writing to a file
by THRAK (Monk) on Aug 21, 2001 at 00:25 UTC | |
|
Re: Re: (Ovid) Re: Writing to a file
by dragonchild (Archbishop) on Aug 21, 2001 at 00:24 UTC | |
by swngnmonk (Pilgrim) on Aug 21, 2001 at 01:20 UTC | |
|
Re: Re: (Ovid) Re: Writing to a file
by OzzyOsbourne (Chaplain) on Aug 22, 2001 at 21:54 UTC |