Predefined tasks

Table 3-5 describes the tasks that you can schedule to be performed automatically. To schedule tasks individually, choose Select, then select or unselect each task. To schedule all the tasks, select All.

To add new tasks and configure task schedules, see “Creating new tasks”.

Table 3-1: Scheduled tasks

Task

Description

AutoDeploy

Automatically deploy any EJB-JAR, WAR, EAR, or application-client JAR that is in the deploy directory. By default, this is enabled.

AutoRefresh

Enables EJBs and Web modules that are refreshed by AutoDeploy, or by running the deploy or refresh commands to be reloaded by the server. By default, this is enabled.

CheckForApplicationExceptions

Check the log for application exceptions that match a given string.

CheckForErrorMessages

Check the log for error messages that match a given string.

CheckForSecurityAlerts

Check the log for security alerts that match a given string.

CheckForSystemExceptions

Check the log for system exceptions that match a given string.

CheckForWarningMessages

Check the log for warning messages that match a given string.

CheckMemoryUsage

Compare memory usage to the memory monitor limits configured in the server properties. For more information on memory limits, see “Monitors tab” in Chapter 3, “Creating and Configuring Servers,” in the System Administration Guide.

Dump60MinuteMemoryUsage

Write 60-minute memory usage statistics to the log file every hour.

Dump60MinuteStatistics

Write 60-minute statistics to the log file every hour. Files are written in the logs/statistics directory.

Dump60SecondMemoryUsage

Write 60-second memory usage statistics to the log file every minute.

Dump60SecondStatistics

Write 60-second statistics to the log file every minute. Files are written in the logs/statistics directory

EjbSessionTimeout

Deletes session state from the session.db data source for passivated EJB stateful session bean instances that have timed out due to inactivity.

EndOfServerLog

Used by other tasks; for example, to include part of the server log in an e-mail message.

JmsDuplicateDetectionExpiry

Deletes expired JMS duplicate-detection records.

JmsPersistentMessageExpiry

Deletes expired JMS persistent messages.

LocalRestart

Enables the -local option for restarting the local server.

LocalStop

Enables the -local option for stopping the local server.

NotifyApplicationExceptions

Send a notification if application exceptions are logged.

NotifyErrorMessages

Send a notification if errors are logged.

NotifySecurityAlerts

Send a notification if a security violation occurs.

NotifyServerShutdown

Send a notification when the server shuts down.

NotifyServerStartup

Send a notification when the server starts.

NotifySystemExceptions

Send a notification if system exceptions occur.

NotifyWarningMessages

Send a notification if warnings are logged.

PbHeap_dumpSummary

Print a summary of the PowerBuilder heap memory usage.

StartOfServerLog

Used by other tasks; for example, to include part of the server log in an e-mail message.

SybHeap_dumpSummary

Print a summary of the EAServer heap memory usage.

TxRef

Log transaction cross references. To run this task, the server -txRef option must be set to true.

XaRecovery

Recover transactions that did not complete due to server failure. This option sends a recovery call to the database to get the list of transaction IDs, then either commits or rolls back each transaction, depending on its state.