-
-
Notifications
You must be signed in to change notification settings - Fork 368
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 managing jobSchedulers in bull-board. #827
Comments
I would be happy to work on this btw, sounds fun! |
Go for it :) |
@felixmosh what are your thoughts about where to have it in the UI? Originally I was thinking to have 'Scheduled' as another status but it's not really a job 'status', so I was thinking about making it a modal that could be opened from the dropdown below 'add job'. My only hesitation there is that it is kind of hidden. |
Can u explain what is new with the new approach? |
Ha, cool feature, it should go under queue actions (the place where we have Pay attension to the fact that this should be added only on bullmq queues (we have a flag for that) A place to manage jobSchedulers should be in a new Page, which will allow to list them & remove |
Makes sense, thanks for the feedback. So add 'Add Job Scheduler' under queue actions for adding them, and a new page for listing/managing. How should the user navigate to said page? |
Maybe we should add a link at the right of queue statuses (before 3 dots of queue actions)? |
Also, could you please point out where the library flag is in the UI so it can be displayed conditionally? Not having luck finding it @felixmosh |
Here,
|
@lpoulin are you still working on this? I have a need for this as well, happy to assist |
Hi @steven-t-h, I have made significant headway on this. The caveat is that as it stands now, jobSchedulders in bullmq 5.x.x are not exactly fully supported. I have spoken with some of them and they are planning to add more support in the next major release. For example, when retrieving job schedulers, I would expect to see the job template object that it was created with that contains job info/parameters. Additionally, I just recently raised an issue to support retrieving a single scheduler by id (instead of retrieving a list of all of them from a queue). For these reasons, I put my work on pause for a bit. I did make significant headway, however. I will go ahead and open up a PR so you can take it from there if you'd like. I believe the majority of the remaining work is just beautifying the job scheduler card, but it should be (mostly) functional. |
@steven-t-h here is the PR of what I have so far: #856 |
@lpoulin thanks, I'll definitely take a look |
As of [email protected],
jobSchedulers
are the recommended way to manage scheduled jobs that run on an interval. It would be awesome if these could be managed (added, removed, changed) via the dashboard.The text was updated successfully, but these errors were encountered: