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

error when i try create a job #12

Closed
labotsky opened this Issue Dec 18, 2013 · 10 comments

Comments

Projects
None yet
8 participants
@labotsky

labotsky commented Dec 18, 2013

when i try create a job in a console:
job = Sidekiq::Cron::Job.new( name: 'Hard worker - every 5min', cron: '*/5 * * * *', klass: 'HardWorker')
job.valid? - false
job.errors - ["'cron' -> */5 * * * *: uninitialized constant Rufus::Scheduler::CronLine"]
job.save - false
the same problem with in yml file

Help me

@ondrejbartas

This comment has been minimized.

Owner

ondrejbartas commented Dec 21, 2013

Hello,

please try to use newest version.

It should help.

737 657 638 | bartas@ppcbee.cz

On 18 Dec 2013, at 07:36, sergey notifications@github.com wrote:

when i try create a job in a console:
job = Sidekiq::Cron::Job.new( name: 'Hard worker - every 5min', cron: '*/5 * * * *', klass: 'HardWorker')
job.valid? - false
job.errors - ["'cron' -> */5 * * * *: uninitialized constant Rufus::Scheduler::CronLine"]
job.save - false
the same problem with in yml file

Help me


Reply to this email directly or view it on GitHub.

@alexfalkowski

This comment has been minimized.

alexfalkowski commented Oct 5, 2014

I still get this issue with version 0.2.0. What do I need to do?

@alexfalkowski

This comment has been minimized.

alexfalkowski commented Oct 5, 2014

Bumping to version

gem 'rufus-scheduler', '~> 3.0.9'

I'm assuming that the class

Rufus::Scheduler::CronLine

was introduced in version 3.

@anamba

This comment has been minimized.

anamba commented May 16, 2018

This issue has returned with rufus-scheduler 3.5.0.

jmettraux/rufus-scheduler@5fad18c

@PanfilovDenis

This comment has been minimized.

PanfilovDenis commented May 16, 2018

+1

@tommyalvarez

This comment has been minimized.

tommyalvarez commented May 16, 2018

+1 same error with sidekiq 5.1.3 and sidekiq-cron 0.6.3

@coorasse

This comment has been minimized.

coorasse commented May 17, 2018

@jmettraux why does a minor version change apis? shouldn't this have been released as 4.0.0?

@jmettraux

This comment has been minimized.

Contributor

jmettraux commented May 17, 2018

Hello @coorasse,

wouldn't it be good if sidekiq-cron was doing ~> 3.3 instead of >= 3.3.0 regarding its dependency on rufus-scheduler?

Could you please tell me exactly what goes wrong here?

I'm going with rufus-scheduler 3.5.0 instead of 4.0.0 because the API hasn't changed, rufus-scheduler 3.5.0 quacks like 3.4.0 does. Behind the scene, things have changed and if sidekiq-cron relies on internal details then I'd be glad to help as best as I can, a stack trace and a precise description of the problem would be appreciated.

Thanks in advance.

@jmettraux

This comment has been minimized.

Contributor

jmettraux commented May 17, 2018

@anamba @coorasse And opening a new issue, with reference to this issue, would be better than hijacking an old, closed, issue.

Thanks in advance and best regards.

@jmettraux

This comment has been minimized.

Contributor

jmettraux commented May 17, 2018

Actually, there is already an issue for that at #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment