Skip to content

Commit

Permalink
Refresh rss feeds every hour
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp committed Sep 22, 2024
1 parent ab0ddb9 commit 94fe225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/good_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
config.good_job.enable_cron = true
config.good_job.cron = {
refresh_feeds: { # each recurring job must have a unique key
cron: 'every 2 hours', # cron-style scheduling format by fugit gem
cron: 'every hour', # cron-style scheduling format by fugit gem
class: 'RefreshRssFeedsJob', # reference the Job class with a string
description: 'Recurring job that fetches new entries in rss feeds'
}
Expand Down

0 comments on commit 94fe225

Please sign in to comment.