Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify which sidekiq-cron version is available #101

Closed
ozachun opened this issue Apr 18, 2024 · 2 comments
Closed

Specify which sidekiq-cron version is available #101

ozachun opened this issue Apr 18, 2024 · 2 comments

Comments

@ozachun
Copy link

ozachun commented Apr 18, 2024

Issue description

Stated in https://github.com/floraison/fugit?tab=readme-ov-file "Related projects - Similar, sometimes overlapping projects" of sidekiq-cron - recent versions of Sidekiq-Cron use fugit to parse cron strings

In the above description, it says that it is available in the recent versions of Sidekiq-Corn, but from which version is it available? Not stated.

スクリーンショット 2024-04-18 15 36 30

How to reproduce

version
Booted Rails 7.0.7, Running in ruby 3.2.2, Sidekiq Pro 5.5.8 / Sidekiq Enterprise 2.5.3

The simplest piece of code that reproduces the issue, for example:

config.periodic do |cron|
  cron.register('0 5 * * mon#1', SampleWorker', 'args' => [])
end

bundle exec rails c

>  SampleWorker.perform_async()

Even though version of Sidekiq Pro 5.5.8 / Sidekiq Enterprise 2.5.3 is old.
Executed, but did not run at the specified time.

I found out that the version of sidekiq-corn I was using was out of date.

Expected behaviour

In "Projects using fugit". Describe which version is executable.

@jmettraux
Copy link
Member

Hello,

I contributed a switch from rufus-scheduler to fugit in 2018:

sidekiq-cron/sidekiq-cron@ae9701b

It's been six years.

@jmettraux
Copy link
Member

Thanks for pointing that out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants