Chapter 26. Using the ColdFusion Scheduler
The ColdFusion Scheduler allows you to incorporate a whole new level of functionality into your CFML applications. With the Scheduler, you can set up various templates to run automatically on a recurring basis. Scheduled template execution has numerous uses including automatic report generation, maintenance, and system monitoring. You can also automate so-called intelligent agents—templates that are capable of retrieving information from other sites and applications without user intervention.
The Scheduler comes standard as part of the ColdFusion Application Server and can be accessed via the ColdFusion Administrator or programmatically. Using the Scheduler, it is possible to schedule the execution of templates on a recurring basis, e.g., daily, weekly, or monthly. In addition, tasks can be set to execute at a particular time or interval or to run only a single time. Additionally, the Scheduler can automatically generate static HTML files from dynamic content.