You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
474 B

  1. # examples:
  2. # periodic_cleanup:
  3. # class: CleanSoftDeletedRecordsJob
  4. # queue: background
  5. # args: [ 1000, { batch_size: 500 } ]
  6. # schedule: every hour
  7. # periodic_cleanup_with_command:
  8. # command: "SoftDeletedRecord.due.delete_all"
  9. # priority: 2
  10. # schedule: at 5am every day
  11. production:
  12. clear_solid_queue_finished_jobs:
  13. command: "SolidQueue::Job.clear_finished_in_batches(sleep_between_batches: 0.3)"
  14. schedule: every hour at minute 12