Name

CFSCHEDULE

Synopsis

<CFSCHEDULE>

Schedules execution of a ColdFusion template.

Attributes

ACTION=" action "

Action you want the scheduler to perform. Valid entries are Delete, Run, and Update. Required.

TASK=" task_name "

The name of the task to delete, run, or update. Required.

OPERATION="HTTPRequest"

The operation the scheduler should perform. Required when ACTION is Update. The only OPERATION currently supported is HTTPRequest.

FILE=" filename "

Filename to use for the static file being published. Required when PUBLISH is Yes.

PATH=" path "

The path to the location where the static file should be written. Required when PUBLISH is Yes.

STARTDATE=" date "

Start date for the scheduled task. Required when ACTION is Update.

STARTTIME=" time "

Start time for the scheduled task. Required when ACTION is Update.

URL=" URL "

Absolute URL to the template to be executed when the scheduled task runs. Required when ACTION is Update.

PORT=" port_number "

Port number on the server where the template being executed resides. Optional. The default is 80.

PUBLISH="Yes|No"

Whether or not the output of the scheduled task should be saved as a static file. Optional. The default is No.

ENDDATE=" date "

End date for the scheduled task. Optional.

ENDTIME=" time "

End time for the scheduled task. Optional.

INTERVAL=" seconds "

The interval the scheduler should use when scheduling tasks for execution. Intervals can be set in seconds or as Once, Daily, Weekly, or Monthly. Required ...

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.