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:205799
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