User Guide
372 Chapter 2: ColdFusion Tags
cfschedule
Description
Provides a programmatic interface to the ColdFusion scheduling engine. Can run a CFML page
at scheduled intervals, with the option to write the page output to a static HTML page. This
feature enables you to schedule pages that publish data, such as reports, without waiting while a
database transaction is performed to populate the page.
Category
Variable manipulation tags
Syntax
<cfschedule
action = "update"
task = "taskname"
operation = "HTTPRequest"
file = "filename"
path = "path_to_file"
startDate = "date"
startTime = "time"
url = "URL"
port = "port_number"
publish = "yes" or "no"
endDate = "date"
endTime = "time"
interval = "seconds"
requestTimeOut = "seconds"
username = "username"
password = "password"
proxyServer = "hostname"
proxyPort = "port_number">
proxyUser = "username"
proxyPassword = "password"
resolveURL = "yes" or "no"
<cfschedule
action = "delete"
task = "TaskName">
<cfschedule
action = "run"
task = "TaskName">
See also
cfcookie
, cfparam, cfregistry, cfsavecontent, cfset