Add or Edit a Scheduled Task to Run

To add or edit a scheduled task to run in ColdFusion, follow these steps:

 

  1. Click Server>Schedule Task in the ColdFusion Administrator.  The Schedule Task page appears.

  2. In the Schedule Task page, do one of the following

  1. In the Add/Edit Task page specify or modify the following information:
     

Option

Description

Default

Task Name

Enter a name for the task you want to run in the Task Name text box.

 

None.

Duration

Enter the Start and End dates for the task.

Note that the end date is optional. If you want this task to execute continuously, leave the end date field blank.

Start date: present date

End date: blank

 

Schedule to Run

Select how often you want to schedule this task to run:

  • One-time. Schedules to run the task 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 either daily, weekly, or monthly at the specified time.

  • Daily. Schedules the task to repeat every day during a specific time period. Specify the daily start and end times. The duration of the scheduling of this task is  governed by Start and End Date.

Recurring: daily at 1:00 p.m.

 

 

Operation

Enter an HTTP port number between 1 and 65535.

None

URL

Enter the URL for the page you want to execute in the URL text box.  This is not limited to local pages.  You can execute pages on a remote ColdFusion Server as well, assuming you have the proper access rights to do so.

None

User Name

Password

 

(optional)

Specify a user name and password only if the page you want to execute is in a secure location.

None

Request TimeOut

 

(optional)

Specify a timeout setting. A  timeout setting helps prevent requests from stalling due  to an overloaded web server, network problem, or a page that takes too long to execute.

None

Proxy Server

Proxy Port

 

(optional)

If this request needs to be routed through a proxy server, enter the URL and Port number of that proxy server.

None

Publish

Path

File

 

(optional)

If you want to publish an output file of this task, you must:

  1. Select the Publish checkbox option.

  2. In the path file, identify the full path to where you want to store this output file.

  3. Specify a filename for the output file.

None

Resolve URL

 

(optional)

Select the Resolve URL option to replace any relative URLs used in links returned in the result page to absolute URLs.

Option: disabled.

 

  1. To save and apply changes, click Submit Changes.

 

Related topics