On 2/18/02, Phillip Broussard penned:
><cflock timeout="120" throwontimeout="No" type="EXCLUSIVE">
>
><cfquery name="remove_content" datasource="#application.datasource#">
>               delete from builder where buildtime < '#cleardate#'
></cfquery>
>
></cflock>
>
>I just want to make sure nobody triggers this once it has started.

You'll need to specify the application scope, or give the lock a 
unique name pre 4.5 versions.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to