> The way our system runs is that once a day it sets up the tasks for 
> the whole day. Puts that somewhere in memory, but where? how could I 
> clear all the scheduled tasks for the day from CF's 
memory?

Hi.  Couldn't you just have another process you run that deletes all the 
scheduled tasks that were originally set up earlier in the day?  

<CFSET TaskList = "task 1,task 2,task 3,task 4,task 5,task 6">
<CFLOOP LIST="#TaskList#" INDEX="task">
   <cfschedule action="delete" task="#task#">
</CFLOOP>

That's how I would do it if I had several tasks.  Otherwise, if I had only one 
or two, then I wouldn't use the loop.

If you don't know the actual scheduled task's names, then there is a way to get 
those dynamically, but I don't have the code for that with me.  Maybe someone 
else can post that to this thread.

Dave

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212288
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to