Scheduling query-based alerts

To schedule a query-based alert:

  1. Select Maintenance > System Administration > Job Scheduler.
  2. Click Add Schedule.
  3. Specify a unique and descriptive name for the task in the Task Description field.
  4. Do one of these actions:
    • Select the Java Task option and select Alert Task from the drop-down list.
    • Select the Runs in a dedicated process check box to run the task as a standalone process and not as a thread.
      Note: This option should only be considered after reading the following paragraph and following the recommendations.

      This option allocates the required RAM for each spawned scheduler process that is specified in the SPAWNED_PROCESS_JVM_PARAMS registry parameter. In addition, all Aggregate Task children tasks are run as dedicated processes. If no value is specified in the registry parameter, the JVM defaults are used. Before spawning the JVM process, the WFM application does not check if there is available RAM.

      Note: It is the responsibility of your system administrator to allocate adequate RAM for your environment and the workloads you are running.

      To specify Java VM parameters for spawned scheduler processes, see SPAWNED_PROCESS_JVM_PARAMS in the Registry Parameter Reference Guide.

    • Select the Shell script option and specify the customized task shell script.
  5. Optionally, select a specific scheduler to run the task in the Task Affinity drop-down list. By default, the task is run on the unnamed default scheduler.
  6. In the Scheduled Time section, specify the time to run the task in the Run at field.
  7. Optionally, change the time zone in the Timezone field. By default, your local time zone is used.
  8. In the Scheduling Time section, select one of these options:
    • Once: Schedules the task to run only once.
    • Daily: Schedules the task to run by intervals of days and minutes.
    • Weekly: Schedules the task to run by day of week.
    • Monthly: Schedules the task to run by month and by day of month.
  9. If you selected Daily, do one of these actions:
    • Specify the number of days between runs in the Every ... Day(s) field.
    • Specify the number of seconds between runs in the Interval ... Second(s) field. The application allows for a minimum of 5 seconds between runs. A value of -1 indicates that the field is not used.
  10. If you selected Weekly, select the check boxes for the days of the week on which you want the task to run.
  11. If you selected Monthly, do one of these actions:
    • Select the Day ... Of option and specify the day of month on which you want the task to run.
    • Select the Of option and select the week of the month and the day of week on which you want the task to run. For example, you can select second and Thursday to run the task every second Thursday of the month.

    Then, specify which months of the year on which you want the task to run.

    Note: If you do not select a month, the task will not run.
  12. In the Scheduling Range section, select the date when you want your task to begin running in the Start On field.
  13. Optionally, select the date when you want your task to stop running in the End By field. If you leave the field blank, the task will run indefinitely.
  14. Click Submit.
  15. Click OK.
  16. Click Parameters beside the schedule task.
  17. Select your new query-based alert from the Alert Type drop-down list, and click Next.
  18. Click Submit.
    The task is now scheduled.