Manage schedulers
Subtopics
- Manage schedulers
Schedulers are configured using the administrative console, configuration service or scripting and are available to all servers on which a scheduler is visible.- Scheduler daemon
A scheduler daemon is a background thread that searches for tasks to run in the database.- (iSeries) (ZOS) (Dist) Example: Stopping and starting scheduler daemons using Java Management Extensions API
Use the wsadmin scripting tool to invoke a Jacl script and stop and start a scheduler daemon.- Example: Dynamically changing scheduler daemon poll intervals using Java Management Extensions API
Use the wsadmin scripting tool to invoke a Jacl script and dynamically change scheduler daemon poll intervals.- Configure schedulers
Before the application can make use of the scheduler service, configure a scheduler using the administrative console, configuration service or scripting. Conceptually, a scheduler is similar to a data source in that specify various configuration attributes, including a JNDI name where the instance is bound. Once defined, an application using the Scheduler API or WASScheduler MBean can look up the scheduler object and call various methods to manage tasks.- Create the database for schedulers
Each scheduler requires a database in which to store its persistent information. Schedulers use this database for storing tasks and then running them. The choice of database and location should be determined by the application developer and server administrator.