Class: Jobs::ScheduledController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Jobs::ScheduledController
- Defined in:
- app/controllers/panoptic/jobs/scheduled_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'app/controllers/panoptic/jobs/scheduled_controller.rb', line 7 def index # TODO: use the `scheduled` scope available in SolidQueue next release @pagy, @jobs = pagy( SolidQueue::Job.joins(:scheduled_execution).order(scheduled_at: :asc) ) render "panoptic/jobs/index" end |