Hello, The simplest solution is to loop over all tasks and see whatever its on of yours. To do this define a list with all your task names. Then when you loop over the task in your code don't display them right away, but have an if statement that checks whatever a task is one of yours or not.
TK http://www.tomkitta.com -----Original Message----- From: WebStop Internet Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 5:45 PM To: CF-Talk Subject: Scheduled Task Listing Is there a way to show the scheduled task for a particularly named task? Say, I name all my tasks "Scheduled Task (variable number)" How would I display all of the tasks with the name that started with the words "Scheduled Task"? I have this so far, but I am on a shared server and other people's tasks are showing up and I only want to display the ones for the application I created that names them "Scheduled Task 1, Scheduled Task 2" etc... Here is what I use to display currently scheduled tasks: <!--- Code Snippet You have the following Tasks Scheduled listed by ID Number.<br> <cfobject type="JAVA" action="Create" name="factory" class="coldfusion.server.ServiceFactory"> <cfset allTasks = factory.CronService.listAll()> <cfset numberOtasks = arraylen(allTasks)> <cfloop index="i" from="1" to="#numberOtasks#"> <cfoutput> #allTasks[i].task#<br> </cfoutput> </cfloop> Click a number below to view details of the task. <cfdump var="#allTasks#" expand="no"> End Code / ---> How do I discriminate between mine and everyone else's on the server? Michael Pool Lowcountry Computers http://www.LowcountryComputers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:205624 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

