To schedule ColdFusion to store a log file for future reference, follow these steps:
In the ColdFusion Administrator, click Tools>Log Files. The Log Files page appears.
Click the Schedule store log file control for the log file you want to schedule for backup. The Add/Edit Scheduled Task page appears.
In the Add/Edit Schedule Task page, specify the following information:
Option |
Description |
Default |
Task Name |
ColdFusion assigns the log file name as the Task Name.
Example: If you were scheduling to backup the application log, archive application.log would appear in the Task Name text box.
You can keep the task name assigned by ColdFusion or change it. |
None |
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 field blank. |
Start date: present date End date: blank
|
Schedule to Run |
Select how often you want to schedule this task to run:
|
Recurring: daily at 1:00 a.m.
|
Operation |
Enter an HTTP port number between 1 and 65535. |
None |
URL |
ColdFusion automatically assigns the URL log file path. You should not change the URL unless you changed the location of the log file. |
None |
User Name Password
(optional) |
Specify a user name and password only if the log file is located in a secure location. |
None |
Request TimeOut
(optional) |
Specify a timeout setting. A timeout setting helps avoid requests that stall because an overloaded web server, network problem or a page that takes too long to execute. |
None |
Proxy Server Proxy Port
(optional) |
If you need to route this request through a proxy server, enter the URL and Port number of the proxy server. |
None |
Publish Path File
(optional) |
If you elect to publish an output file of this task, you must:
|
None |
Resolve URL
(optional) |
Select the Resolve URL option to replace relative URLs in links returned in the result page with absolute URLs. |
Option: disabled. |
To apply and save changes, click Submit Changes.