Install default scheduler calendars

The default scheduler SIMPLE and CRON calendars are available in the SchedulerCalendars.ear system application and are automatically installed on standalone server profiles. System applications cannot be installed and uninstalled like traditional JEE applications.

The following steps are required to map the SchedulerCalendars.ear system application on a server or cluster in a network deployment environment.

  1. Start wsadmin.sh and connect to the deployment manager. Refer to the Starting the wsadmin scripting client topic for more information.

  2. Install the system application.

    • To install on a non-clustered server:

      • Use Jacl:
        $AdminApp install "/${WAS_INSTALL_ROOT}/systemApps/SchedulerCalendars.
        ear" {-systemApp -appname SchedulerCalendars -cell
         mycell -node mynode -server myserver}

      • Jython list:
        AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
        SchedulerCalendars.ear', ['-systemApp', '-appname', 'SchedulerCalendars','-cell', 'mycell', '-node', 'mynode', '-server', 'myserver'])

      • Jython string...
        AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
        SchedulerCalendars.ear', '[-systemApp -appname
         SchedulerCalendars -cell mycell -node mynode
         -server myserver]')

        Where:

        Value Option
        mycell the value of the cell option
        mynode the value of the node option
        myserver the value of the server option

    • To install on a cluster:

      • Use Jacl:
        $AdminApp install "\${WAS_INSTALL_ROOT}/systemApps/SchedulerCalendars.
        ear" {-systemApp -appname SchedulerCalendars -cell
         mycell -cluster mycluster}

      • Jython list:
        AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
        SchedulerCalendars.ear', ['-systemApp', '-appname', 'SchedulerCalendars','-cell', 'mycell', '-cluster', 'mycluster'])

      • Jython string...
        AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
        SchedulerCalendars.ear', '[-systemApp -appname
         SchedulerCalendars -cell mycell -cluster mycluster]')

        Where:

        Value Option
        mycell the value of the cell option
        mycluster the value of the cluster option

  3. Save the configuration changes. Refer to the Saving configuration changes with wsadmin.sh topic for more information.

  4. Synchronize the node. Refer to the Synchronizing nodes with wsadmin.sh topic for more information.


Related concepts

  • Scheduler calendars
  • Scheduler daemon


    Related tasks

  • Example: Use default scheduler calendars
  • Manage schedulers
  • Develop and scheduling tasks
  • Start the wsadmin scripting client
  • Saving configuration changes with wsadmin.sh
  • Synchronize nodes using wsadmin.sh


    Related information:

    Install the WebSphere SchedulerCalendars application on federated, version 6 nodes