Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GoodJob for cronjobs #584

Open
ajkiessl opened this issue Oct 25, 2022 · 0 comments
Open

Implement GoodJob for cronjobs #584

ajkiessl opened this issue Oct 25, 2022 · 0 comments

Comments

@ajkiessl
Copy link
Contributor

https://github.com/bensheldon/good_job

The documentation for this seems to indicate that Postgres is required, but if it's just using a db for a queue, I don't see why it wouldn't work with Mariadb.

This would be a nice replacement for all the k8s cronjobs (which are a little more difficult to handle).

Here's some example syntax:

Rails.application.configure do 
  config.good_job.cron = {
    clean_search: {
      cron: '0 2 * * *',
      class: 'CleanSearchJob',
      kwargs: { days_old: 90 }
    }
  }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant