5 Scheduling Management Jobs

Management Jobs are built-in Jobs relating managing aging data in Oracle Linux Automation Manager and include the following jobs:

  • Cleanup Activity Stream: This management job removes activity stream history older than a specified age.

  • Cleanup Expired OAuth 2 Tokens: This management job removes OAuth 2 access tokens and refresh tokens that are expired.

  • Cleanup Expired Sessions: This management job removes browser sessions from the database that are expired.

  • Cleanup Job Details: This management job removes job history older than a specified age.

To launch a management job, do the following:

  1. Log into Oracle Linux Automation Manager.

  2. Expand the navigation menu, and from the Administration section, click Management Jobs.

    The Management Jobs page appears.

  3. Click the rocket icon.

    A dialog box might appear in some management jobs to specify how many days of data should be retained. If so, specify the number of days that data should be retained.

  4. Click Launch.

To schedule a management job, do the following:

  1. Log into Oracle Linux Automation Manager.

  2. Expand the navigation menu, and from the Administration section, click Management Jobs.

    The Management Jobs page appears.

  3. Click the calendar icon for the management job you want schedule.

    The Schedules page appears.

  4. Click the Add button.

    The Add Schedule page appears.

  5. In the Name field, enter the name of the schedule.

  6. In the Start Date field, enter a start date.

  7. In the Start Time field, enter the hours, minutes, and seconds for the start time.

  8. From the Local Time Zone list, select a time zone.

  9. From the Repeat Frequency, select one of the following:

    • None (run once)

    • Minute

    • Hour

    • Day

    • Week

    • Month

    • Year

    When you select any option other than None, the Frequency Details area and fields appears.

  10. In the Days of Data to Keep field, enter the number of days to retain data before deleting it.

  11. In the Every field, enter the frequency to repeat the management job.

    • If you selected a Repeat Frequency of Minute, enter the number of minutes.

    • If you selected a Repeat Frequency of Hour, enter the number of hours.

    • If you entered a Repeat Frequency of Day, enter the number of days.

    • If you entered a Repeat Frequency of Week, enter the number of weeks. Also, the On Days list appears. Select one or more days of the week.

    • If you entered a Repeat Frequency of Month, do the following: Also, the On Day field appears. Enter the day of the month.

      1. Enter the number of months.

      2. To specify a day on which start the management job, select On Day, and enter the day.

      3. To specify a week and day, select On The, select the first, second, third, fourth, or last week of the month, and select the day of the week.

  12. From the End list, select one of the following:

    • Never

    • After

    • On Date

  13. Review the Schedule Description area dates.

  14. Click Save.