Adobe 38000827 Administration Guide - Page 32

Scheduled Tasks System Probes Code Compatibility Analyzer

Page 32 highlights

Scheduled Tasks page You use the Scheduled Tasks page to schedule the execution of local and remote web pages and to generate static HTML pages. The scheduling facility is useful for applications that do not require user interactions or customized output. ColdFusion developers use this facility to schedule daily sales reports, corporate directories, statistical reports, and so on. Information that is read more often than written is a good candidate for scheduled tasks. Instead of executing a query to a database every time the page is requested, ColdFusion MX renders the static page with information generated by the scheduled event. Response time is faster because no database transaction takes place. You can run scheduled tasks once; on a specified date; or at a specified time, daily, weekly, or monthly. You can run a scheduled task daily, at a specified interval, or between specified dates. The Schedule Task page lets you create, edit, and delete scheduled tasks. For more information, see the online Help. System Probes page System probes help you evaluate the status of your ColdFusion applications. Like scheduled tasks, they access a URL at a specified interval, but they can also check for the presence or absence of a string in the URL. If the URL contents are unexpected, or if an error occurred while accessing the URL, the probe can send an e-mail alert to the address specified in the System Probes page. The probe can also execute a script to perform a recovery action, such as restarting the server. All probe actions are logged in logs/ probes.log. The System Probes page also displays the status of each probe. You use the buttons in the Actions column in the System Probes table to perform the following actions: Action Edit Run Enable/ Disable Delete Description Lets you edit the probe. Runs the probe immediately, even if it was previously disabled. Starts and stops the probe from automatically executing at its specified interval. Deletes the probe. Because probes run as scheduled ColdFusion tasks, they will not run if the ColdFusion MX server on which they are hosted crashes, or if the host web server crashes or otherwise does not respond. Code Compatibility Analyzer page The Code Compatibility Analyzer evaluates your ColdFusion pages for potential incompatibilities between ColdFusion MX and ColdFusion Server 5. For more information, see Migrating ColdFusion 5 Applications. 24 Chapter 2 Basic ColdFusion MX Administration

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68

24
Chapter 2
Basic ColdFusion MX Administration
Scheduled Tasks page
You use the Scheduled Tasks page to schedule the execution of local and remote web
pages and to generate static HTML pages. The scheduling facility is useful for
applications that do not require user interactions or customized output. ColdFusion
developers use this facility to schedule daily sales reports, corporate directories, statistical
reports, and so on.
Information that is read more often than written is a good candidate for scheduled tasks.
Instead of executing a query to a database every time the page is requested, ColdFusion
MX renders the static page with information generated by the scheduled event. Response
time is faster because no database transaction takes place.
You can run scheduled tasks once; on a specified date; or at a specified time, daily, weekly,
or monthly. You can run a scheduled task daily, at a specified interval, or between
specified dates.
The Schedule Task page lets you create, edit, and delete scheduled tasks. For more
information, see the online Help.
System Probes page
System probes help you evaluate the status of your ColdFusion applications. Like
scheduled tasks, they access a URL at a specified interval, but they can also check for the
presence or absence of a string in the URL. If the URL contents are unexpected, or if an
error occurred while accessing the URL, the probe can send an e-mail alert to the address
specified in the System Probes page. The probe can also execute a script to perform a
recovery action, such as restarting the server. All probe actions are logged in logs/
probes.log. The System Probes page also displays the status of each probe.
You use the buttons in the Actions column in the System Probes table to perform the
following actions:
Because probes run as scheduled ColdFusion tasks, they will not run if the ColdFusion
MX server on which they are hosted crashes, or if the host web server crashes or otherwise
does not respond.
Code Compatibility Analyzer page
The Code Compatibility Analyzer evaluates your ColdFusion pages for potential
incompatibilities between ColdFusion MX and ColdFusion Server 5. For more
information, see
Migrating ColdFusion 5 Applications
.
Action
Description
Edit
Lets you edit the probe.
Run
Runs the probe immediately, even if it was previously disabled.
Enable/
Disable
Starts and stops the probe from automatically executing at its specified
interval.
Delete
Deletes the probe.