Force run and pause Ent Periodic Jobs #5901
Replies: 4 comments 2 replies
-
|
That's neat that you were able to build this! I've had concerns about the Pause functionality. If someone forgets they pressed it or doesn't tell another team member, it could cause a lot of confusion about why the cron job is not running. I don't think you can publish the gem without republishing a modified |
Beta Was this translation helpful? Give feedback.
-
|
The pause functionality aside, I too have wanted a "run right now" button in the UI. Lacking that, I tend to just fire up a console session and enqueue one myself. Which works, but isn't as convenient as the UI. Especially for local testing/debugging. So, a nice-to-have, for me. 😄 |
Beta Was this translation helpful? Give feedback.
-
|
Hello @mperham. Sorry for the delay in reply. I am waiting for your reply. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
I created a simple way to inject buttons into views. And to use is like https://github.com/dannnylo/sidekiq-belt/blob/main/lib/sidekiq/belt/ent/periodic_pause.rb#L39 To make it easy and reusable at the end of Sidekiq views could have a comment as a tag to UI replacement. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @mperham,
The features are force run and pause cron of a job using the
LIDas identifier.I created a private gem using Ruby prepends to add the functionality of pausing or starting a cron job based on the issue #5000. The only part of your gem
sidekiq-entthat I had to use was theloop.erbview file to add the buttons.I would like to publish this gem as a opensource, and in a future if you want to incorporate to
sidekiq-entWould you allow this publication? Or if you prefer, may I send you the gem through some means so that you can better review it?
Beta Was this translation helpful? Give feedback.
All reactions