
22
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
Option
Description
Task Name
Enter a name for the task in the Task Name text box.
Duration
Enter the start and end dates for the task. The end date is optional. If you want this task
to execute continuously, leave the End Date text box blank.
Frequency
Select the schedule for running this task:
•
One-time
Schedules the task to run once on the start date and scheduled time
specified. Specify the date and time. The task must be set at least 15 minutes in the
future in order for the task to execute successfully
•
Recurring
Schedules the task to run daily, weekly, or monthly at the specified time.
•
Daily every
Schedules the task to repeat during a day. Specify Start Time and End
Time to designate when the task begins and ends. Specify Hours, Minutes, Seconds to
set an interval after which the task repeats.
URL
Enter the URL for the ColdFusion page that you want to execute. You can execute a local
page or a page on a remote ColdFusion Server, assuming that you have the proper
access rights.
Username
(Optional) Specify a user name only if the page you want to execute is in a secure
location.
Password
(Optional) Specify a password only if the page you want to execute is in a secure location.
Timeout
(Optional) Specify a timeout setting. This helps prevent requests from stalling due to an
overloaded web server, a network problem, or a page that takes too long to execute.
Proxy Server: Port
(Optional) If this request must be routed through a proxy server, enter the URL and Port
number of that proxy server.
Publish; File
(Optional) To publish an output file of this task, select the Save Output to a File option
and then, in the File text box, enter the full path and filename of the output file.
Resolve URL
(Optional) Select the Resolve URL option to replace any relative URLs used in links
returned in the result page to absolute URLs.
Group
The group to which the scheduled tasks belong. Ensure that the combination of task
name and group are unique.
Crontime
Specify task scheduling time in cron job syntax.
Overwrite
If not selected, creates new output files every time the task executes.
Select to overwrite the existing output file, instead of creating a new one.
Note that Publish file in schedule tasks can now only have TXT and .log extensions by
default. You can add more extensions in cfusion\lib\neo-cron xml.
Eventhandler
A CFC file whose pre-defined methods are invoked for various events while running the
task.
The path you specify must be relative to webroot. For example,
schedulerdemo.eventhandler
.
Exclude
Comma-separated list of dates or date range for exclusion in the schedule period.
On Misfire
Specify what the server has to do if a scheduled task misfires.
On Exception
Specify what to do if a task results in error.
On Complete
The action to be performed after the completion of current task. Specify the details in the
following format:
Task1:Group1,Task3:Group3