3 Creating, Editing, and Using Jobs

This chapter describes how to create and edit jobs in Enterprise Manager for IBM WebSphere Application Server.

To create and edit jobs, follow these steps:

  1. In Enterprise Manager, click Enterprise, then Job, and then click Activity.
  2. On the Job Activity Page, select a job type from the Create Job menu and click Go.

    Select one of the following:

    • Restart AppServer
    • Start Application
    • Stop Application
  3. In the General tab of the Create <Job Type> page, provide a name for the job and add the individual targets or one composite target such as a Group.
    • Note: If you are editing a job, then modify the job name and the selected targets.

  4. In the Parameters tab of the Create <Job Type> page, from the Options menu, select an appropriate option to make the job function according when it starts.

    You can select one of these options as shown below.

    Table 3-1 Job Parameters Options

    Job Type Available Options
    Restat AppServer AppServer Name – Name of the application server you wish to restart
    Start Application Application Name – Name of the application you wish to start Server Name – Name of the server that the application is hosted on
    Stop Application Application Name – Name of the application you wish to stopServer Name – Name of the server that the application is hosted on

  5. In the Credentials tab of the Create <Job Type> Job page, select an appropriate option for credentials.

    You can choose to use the preferred credentials that are already set or override the preferred credentials with new credentials. In either case, you need to provide credentials for the agent host.

    To set the preferred credentials, click Preferences at the top-right corner of the console. From the left-vertical navigation bar, click Preferred Credentials. Enterprise Manager displays the Preferred Credentials page. On this page you can set the preferred credentials.
  6. In the Schedule tab of the Create <Job Type> Job page, schedule the job.
  7. In the Access tab of the Create <Job Type> Job page, define or modify the access you want other users to have to this job.
  8. Click Submit to create the job.