Curated list of episodes, bundled to help you on your learning path!
Videos of tech, infrastructure, hardware and software which non-instructional by nature.
Articles around software and tutorials.
Show your love and support while looking fancy.
Got a question or want to chat about a topic? Let's talk!
can we use gem 'whenever' with the sidekiq-cron?
You could. However, I would only do this if you need tasks ran on all of the web servers. The two should not conflict with each other.
Thanks for the video. Are you sure this is for Sidekiq Pro/Enterprise only? Can't find the docs in the repo mentioning this restriction.
sidekiq-cron is a separate, third-party addon for sidekiq. It does not require Pro/Enterprise. My reference in the video was meant to say that without this gem (or another third-party), and to still have the periodic task functionality, you would have to use Pro/Enterprise.
Thanks, actually for that whole series on sidekiq. Maybe some testing coming up ?
Having deployed the cron, i had to restart the sidekiq service. Off course.
As you have everything else nicely setup for copy/paste, adding the schedule.yml file would make it even easier for the next guy.
And i must admit that at first hearing i also understood that this was only for use with enterprise edition. Only a bit of checking and listening again cleared that up.
I do plan on doing some testing. However, I think week after next, I'll be focusing on searchkick/elasticsearch.
I've updated the episode with the schedule.yml file. That was definitely an oversight, so thank you.
If I had sidekiq-pro, would this still be a good solution for scheduled jobs? Or is there a built in sidekiq scheduler with pro?
I have been using the clockwork gem, but it requires me to maintain a 'special' mode, along with the gem author recently stopping maintenance on it. Looking for alternatives and this definitely looks up my alley, thanks.
I don't think that sidekiq-pro offers recurring jobs.
For terminology sake, a scheduled job would be the result of an action telling the background processor to schedule the job for a later time. For example, if a new user signs up for your application, you can set a scheduled job to thank the user for signing up and give some tips about your application 24 hours after they sign up.
A recurring job or periodic task, would be something where you are wanting to perform a task every x intervals. For example, if you have a ToDo list application and you want to send a notification to your users every morning with an overview of what they still need to do or have completed the previous day, sidekiq-cron would be a good fit for the job.
You should be able to use sidekiq-cron along side sidekiq-pro. However, if you're using sidekiq-enterprise, there is no need for sidekiq-cron since this functionality is built into sidekiq-enterprise.
Thanks for very nice video about Sidekiq-Cron.
I added link to readme to this vide if it is ok with you :D
Thanks! Sounds good to me!