On May 20, 10:45 ¨Âí¬ ¢áòá®ô®èï÷áòä¢ ¼áòá®ô®èï÷®®®Àçíáéì®ãïí¾ ÷òïôåº > On May 20, 2008, at 10:25 PM, Daniel Berger wrote: > > > The first run will work, but trying to start the program up again will > > fail instantly because of the lock on DATA. I should probably do some > > cleanup there, too, but I thought I'd toss this out there and see if > > this is of interest to anyone. > > > Or was I was recovering from a hangover in college when they mentioned > > this trick in class? Anyway, there you go. > > quite interesting, i use self-locking scripts quite often, but DATA is ¨Âóôåð óèïòôå»> > thanks for the tip. You're welcome. :) I've wasted a lot of time with pid files... Regards, Dan