Chapter 3: Using Scheduled Tasks


About scheduled tasks

A scheduled task is a background task that runs at server startup, shutdown, or at scheduled intervals during server operation. You can use scheduled tasks to automate periodic configuration and maintenance activities.

EAServer provides several predefined tasks to perform common maintenance operations such as collecting memory and component invocation statistics.

You can define new tasks to run predefined task operations, such as:

You can also assemble task chains, to combine operations defined in multiple tasks. For example, you can combine tasks that check for log errors with an email task to alert administrators to errors in the log.

Service components can also run automated tasks using code that you write yourself.—see Chapter 4, “Creating Service Components.” EAServer activates scheduled tasks after service components. A scheduled task configured to run at server startup runs after services are started.