Listing scheduled tasks programmatically in ColdFusion
Use the following code snippet to list Scheduled Tasks
&<cfobject type="JAVA" action="Create" name="factory" class="coldfusion.server.ServiceFactory">
&<cfset tasks = factory.CronService.listAll()>
&<cfset sheduledTaskCount = arraylen(tasks)>
&<cfloop index="i" from="1" to="#sheduledTaskCount#">
&<cfoutput> #tasks[i].task# &</cfoutput>
&</cfloop>
<< Home