frank004 said about 7 years ago on Periodic Tasks with sidekiq-cron :

can we use  gem 'whenever' with the sidekiq-cron?


David Kimura PRO said about 7 years ago on Periodic Tasks with 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.


randomor said about 7 years ago on Periodic Tasks with sidekiq-cron :

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. 


David Kimura PRO said about 7 years ago on Periodic Tasks with sidekiq-cron :

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.


dancinglightning said about 7 years ago on Periodic Tasks with sidekiq-cron :

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.

Thanks

Torsten


David Kimura PRO said about 7 years ago on Periodic Tasks with sidekiq-cron :

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.


naveedkakal said about 7 years ago on Periodic Tasks with sidekiq-cron :

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.


David Kimura PRO said about 7 years ago on Periodic Tasks with sidekiq-cron :

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.


ondrejbartas said about 7 years ago on Periodic Tasks with sidekiq-cron :

Thanks for very nice video about Sidekiq-Cron.

I  added link to readme to this vide if it is ok with you :D


David Kimura PRO said about 7 years ago on Periodic Tasks with sidekiq-cron :

Thanks! Sounds good to me!


steve said over 5 years ago on Periodic Tasks with sidekiq-cron :
FYI need to add gem 'rufus-scheduler', '~> 3.4.0' please see https://github.com/ondrejbartas/sidekiq-cron/issues/201 setting up a new app and could not get this baby working! hope this helps -Steve

Dzmitry Apanasik (Dev-Dimas) said about 1 year ago on Periodic Tasks with sidekiq-cron :
Will sidekiq-cron work without running a separate sidekiq process?

David Kimura PRO said about 1 year ago on Periodic Tasks with sidekiq-cron :
I haven’t tried this yet. It could have some complications if sidekiq-cron hasn’t been updated yet to handle it.

David Kimura PRO said about 1 year ago on Periodic Tasks with sidekiq-cron :
https://github.com/sidekiq-cron/sidekiq-cron/issues/378 This may have some helpful information 

Login to Comment