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

Creating jobs dynamically, at runtime #44

Open
DannyBen opened this issue Mar 4, 2016 · 2 comments
Open

Creating jobs dynamically, at runtime #44

DannyBen opened this issue Mar 4, 2016 · 2 comments

Comments

@DannyBen
Copy link

DannyBen commented Mar 4, 2016

Hi,

Is there any way to create scheduled jobs at runtime, driven by user actions?

For instance - to let users create scheduled, recurring tasks?
As I suspect the answer would be no - is it in crono's vision / roadmap to consider such a feature?

@josercruz01
Copy link

+1

@plashchynski
Copy link
Owner

plashchynski commented Jun 25, 2016

Hello @DannyBen and @josercruz01
Have you tried to run Crono#perform at runtime within another task? it should schedule a task.
Then you could reschedule these tasks every time Rails loads.

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

No branches or pull requests

3 participants