Re: Re: skinning a cat (was: Individual bulk e-mails - performance question)
| From: | Per Jessen | Date: | Mon, 01 Sep 2008 18:22:27 +0000 |
| Subject: | Re: Re: skinning a cat (was: Individual bulk e-mails - performance question) | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279231@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
>> I'm probably old fashioned, but to me all that stuff is way overkill..
>> I also tend to think that synchronizing scripts is a job for the
>> shell, not PHP.
>>
>> lockfile=/var/lock/<xxxx>/file
>> # clear out a lock older than 60mins
>> find $lockfile -cmin +60 | xargs rm
>> test ! -f $lockfile && (
>> touch $lockfile
>> <run some php>
>> rm -f $lockfile
>> )
>
> Try running that on windows.
Why? - we don't use Windows.
/Per Jessen, Zürich