Schedule Task Overview

The Scheduling facility in ColdFusion Administrator enables you to schedule the execution of ColdFusion pages and to generate static HTML pages. The scheduling facility is especially helpful for applications that do not require user interactions or customized output. Often ColdFusion developers use this facility to schedule daily sales reports, corporate directories, and statistical reports.

 

With Scheduling, a static  is served to users containing information generated by the scheduled event.  Response time is faster since there is no database transaction, just an HTML page.

 

ColdFusion enables you to schedule pages to execute daily, weekly, or monthly. You can specify a time of day for execution, and you can schedule a page to run only once, on a specified date.

 

When a scheduled page executes, a message is written to a log file, schedule.log.  The schedule.log file identifies the name of the scheduled action, the page to be executed, and whether the task scheduled executed successfully.

 

You must enable ColdFusion to log schedule events to the schedule.log file -- see automation settings.

 

Related topics