brandonhilkert / sucker_punch

Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.
MIT License
2.65k stars 114 forks source link

Any possibilities for cron like scheduled jobs? #221

Closed arrowcircle closed 6 years ago

arrowcircle commented 6 years ago

Hi! Is there any way to use sucker punch for scheduled jobs, like cron?

brandonhilkert commented 6 years ago

Hi there! You can request jobs to be run in the future.

If you're asking about something like sidekiq-cron, no there's nothing like that.

But I don't see why you'd need something like that when you can create a cron job on your own and create a rake task, or runner to run some code you already have.