Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-36361

Implement systemd timer for recurring Foreman tasks using Quadlet

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 6.19.0
    • None
    • Installation
    • None
    • None
    • None
    • None
    • None

      Goal:

      Foreman has various recurring tasks that today run via cron. Foremanctl should avoid cron and instead try to provide container native solutions where possible.

      This story is about porting over the tasks to use systemd timers as a direct port. This is a short term solution where SAT-40686 is a proper solution.

      The timers should follow a default schedule, ideally aiming at aligning the jobs to a regular pattern that falls into:

      • Hourly
      • Daily
      • Weekly
      • Monthly

      The timers may use RandomizedDelaySec= or FixedRandomDelay= to avoid all jobs on the server running at exactly the same time, but is not a requirement.

      Acceptance criteria:

      • All cronjobs that run today are converted to systemd timers
      • The approach is documented in foremanctl's docs directory so that there's a reference design we can point to

              rh-ee-akumari Archana Kumari
              rh-ee-akumari Archana Kumari
              Shubham Ganar Shubham Ganar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: