VS> Did someone implement an offline processing? Or, may be, schedule-based
VS> processing?
VS> I understand that I can spawn a thread from within bean or servlet, but is
VS> there any elegant way to do this?
You can use allaire.jrun.scheduler.CronService Servlet. More details here:
http://www.allaire.com/Handlers/index.cfm?ID=17732&Method=Full&Cache=Off
Example (in web.xml)
<servlet>
<servlet-name>app-scheduler</servlet-name>
<servlet-class>allaire.jrun.scheduler.CronService</servlet-class>
<display-name>Scheduler</display-name>
<description>JRun Scheduler Servlet</description>
<init-param>
<param-name>schedfile</param-name>
<param-value>f:\Program
Files\Allaire\JRun\servers\default\centaur\scheduler\schedule.ini</param-value>
</init-param>
<init-param>
<param-name>logfile</param-name>
<param-value>f:\Program
Files\Allaire\JRun\servers\default\centaur\scheduler\schedule.log</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
best regards,
Pavel Veller
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists