Remove unused interval option from `occ background-job:worker`
Summary
Context
This PR comes from an investigation done for issue https://github.com/nextcloud/server/issues/49584
The user reported that running occ background-job:worker --interval 5 does not run jobs every 5 seconds as advertised.
Upon investigation, I found out that the implementation for the --interval option was never merged and the option seems to be a leftover from the PR where background workers were introduced.
This PR removes the --interval option from occ background-job:worker to avoid confusion.
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [ ] Tests (unit, integration, api and/or acceptance) are included
- [ ] Screenshots before/after for front-end changes
- [ ] Documentation (manuals or wiki) has been updated or is not required
- [x] Backports requested where applicable (ex: critical bugfixes)
/backport to stable31
Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
(If you believe you should not receive this message, you can add yourself to the blocklist.)
Please update PR title and description to the actual content change
Done
/backport to stable32
You pushed a fixup commit, can you merge that into the intended commit @salmart-dev