Home>Server Settings > Scheduled Tasks

Server Settings > Scheduled Tasks

Configure scheduled tasks in ColdFusion Administrator

ColdFusion provides the ability to automate tasks by running ColdFusion code at specified intervals.

Add/Edit Scheduled Task

This section allows you to add or modify scheduled tasks. The "Chained Task" setting is particularly useful for defining task dependencies, ensuring tasks execute in a specific order. You also have options for saving task output to log files for monitoring and debugging purposes.

Enable Cluster Setup

Task clustering provides redundancy by allowing scheduled tasks to run across multiple servers in a cluster. This is an Enterprise-only feature. When using clustering, ensure that only one instance of each task runs at a time. Before enabling cluster setup, you should create an empty database and configure a datasource (DSN) for it.

Cluster Setup & Ready

Once clustering is configured, you have the option to disable it if needed. Ensure that the ColdFusion user has create privileges on the database, as ColdFusion will create the necessary table structure for managing clustered scheduled tasks.

Key Insights

ColdFusion 10 introduced significant improvements to scheduled tasks by implementing the Quartz Job Scheduling Library, which provides high-precision task scheduling capabilities. There are two types of scheduled tasks: Server Level tasks (managed through the ColdFusion Administrator) and Application Level tasks (created programmatically via code).

Additional Help

Stuck?

Convective can help solve even the toughest ColdFusion issues. Find out more.