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

Can't use sidekiq-cron directly with superworker because it requires a job id and process #44

Open
FeminismIsAwesome opened this issue Jan 30, 2016 · 0 comments

Comments

@FeminismIsAwesome
Copy link

Right now, a superworker can only be triggered via perform_async class method call. I'd like to add my jobs via sidekiq-cron (https://github.com/ondrejbartas/sidekiq-cron) but sidekiq-cron uses the instance method perform entryway in order to kick off a job by putting it on the queue. This means that currently, i have to create a proxy job that kicks off the static superworker in order to get it enqueued correctly by sidekiq-cron. I'd love for the ability to just kick it off from sidekiq-cron directly. What work would be required for that? I'd be willing to make the pull request if you had a way to point me where to start. Seems like WorkerClass would be the entry point?

Cheers,
Ian

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

1 participant