Class: WhittakerTech::Aeon::DisposalJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/whittaker_tech/aeon/disposal_job.rb

Overview

Periodic background job that delegates to Disposer for policy-driven purge of invalidated occurrences. Takes no arguments — the Disposer scans globally using the engine configuration.

The host app is responsible for scheduling this periodically (e.g. via sidekiq-cron, whenever, or similar).

Examples:

Enqueue manually

DisposalJob.perform_later

Instance Method Summary collapse

Instance Method Details

#performvoid

This method returns an undefined value.



18
19
20
# File 'app/jobs/whittaker_tech/aeon/disposal_job.rb', line 18

def perform
  Disposer.call
end