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

Support dispatching recurring task immediatly #97

Closed
Intrepidd opened this issue Mar 25, 2024 · 4 comments
Closed

Support dispatching recurring task immediatly #97

Intrepidd opened this issue Mar 25, 2024 · 4 comments
Assignees

Comments

@Intrepidd
Copy link
Contributor

It would be great to be able to dispatch a new job for a recurring task straight from the mission control recurring task page.

I would love to make a PR for it, any pointers ? My naive approach would be to add a new controller and simply call perform_later on the job class.

@rosa
Copy link
Member

rosa commented Mar 25, 2024

Hey @Intrepidd, that's definitely on my mind! I want to support it as well, but I want to change how tasks are stored right now. The current implementation relies on the dispatcher's metadata and doesn't do any kind of serialization to the arguments. The job class is not a problem, but the arguments might be. This is also related to rails/solid_queue#186 and rails/solid_queue#183. I think I'd rather get that one straightened out, possibly storing the tasks separately and properly serializing the arguments, and then tackle this one that would be trivial.

@searls
Copy link

searls commented Aug 16, 2024

This would be super awesome, was just checking the recurring tab in the hope there would be a "Run" button there. Great minds think alike 💡

@rosa
Copy link
Member

rosa commented Aug 17, 2024

This will be coming very soon after I finally got rails/solid_queue#272 ☺️

@rosa
Copy link
Member

rosa commented Nov 8, 2024

This is done in #199 and will be available in version 0.5.0. Solid Queue >= 1.0.1 required.

@rosa rosa self-assigned this Nov 8, 2024
@rosa rosa closed this as completed Nov 8, 2024
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

3 participants