Thanks Peter, This is a good idea. I tried both of the other suggestions and they worked well on a windows machine. The application will be running on a Solaris machine and neither of them worked. I am sure it has something to do with mappings and could easily be solved though.
Blake -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Tilbrook Sent: Wednesday, 5 November 2003 8:02 AM To: CFAussie Mailing List Subject: [cfaussie] RE: Checking to see if cfschedule exists Blake, a shot in the dark here - I'm tired - it is midnight. Try using the CFTRY/CFCATCH to create the schedule - if now error is thrown chances are it does not exist (you can do the same thing with Verity collections and more) otherwise you can assume it does exist. Use the type ANY for the error type - cautiously. Good luck. >> Hi All, I am creating a scheduled task within my code for an application I am working on. Basically it sets an update to a verity collection to be done when content is modified or added, at a set time when the server is at its lowest use. What I can't figure out is how do I check to see if a scheduled task has already been created? I don't want to have the system create multiple tasks for the same thing. Is there a way to check for an existing task? Thanks in advance, Blake Foss ----------------------------------------------- Blake Foss Web Applications Developer (p) +1 415 425-0453 (USA) (p) + 61 410 747-620 (Australia) Resume site: www.webfoot.com.au Personal site: www.touristrevolution.com --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
