Recurring background jobs

Hey, I’m currently working on an API.
I’d like to create an API where users can sign-up to get informed frequently about, let’s say the weather at their current location. The user should be able to set a personal preferred frequency.
Let’s say user A signs up to get informed 3 times a day about the weather in New York.
How could I implement this kind of recurring jobs?
Could I use resque for that?

Happy to hear your ideas :smile:

@schlubbi,

There’s a new add-on for Sidekiq called Sidetiq that you might find interesting: GitHub - endofunky/sidetiq: NO LONGER MAINTAINED Recurring jobs for Sidekiq

Thanks, think that’s exactly what I was looking for!
I should pay more attention to ruby weekly :smile:

Also, @schlubbi if you’re deployed to heroku, you can use the Heroku scheduler addon to do this.