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

Adding command background:queue:add #31743

Closed
mmattel opened this issue Jun 13, 2018 · 4 comments
Closed

Adding command background:queue:add #31743

mmattel opened this issue Jun 13, 2018 · 4 comments

Comments

@mmattel
Copy link
Contributor

mmattel commented Jun 13, 2018

Referencing:
#31630 (Adding background:queue commands: status and delete)

You can now get the job list, delete a job, but you can´t add a job (eg after accidentially deleting it)

Proposal:
Adding a command to add a job to the job list

We will add the current output for having a refernce of the background:queue:status command to the documentation, see https://github.com/owncloud/documentation/issues/4198#issuecomment-396844687

@DeepDiver1975 @tomneedham

@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #31630 (Adding background:queue commands: status and delete), #31617 (Add background:execute occ command for running cron jobs manually), #31727 (Harmonize printout: background:queue/execute commands), #29635 (Add basic tests for files:scan command), and #29583 (add test for user commands).

@DeepDiver1975 DeepDiver1975 added this to the backlog milestone Jun 13, 2018
@tomneedham
Copy link
Member

IMO, it is not in the design of ownCloud for the admin to manually add jobs. Execute is useful for debugging / forcing jobs to run. Status is required to get the ID and check times. Delete is useful for cleanup. But adding add IMO just gives more tools to admins to break things.

@mmattel
Copy link
Contributor Author

mmattel commented Jun 29, 2018

@tomneedham disagree, we have the delete command. Therefore we need the add command too. Else an admin can never bring back a job he has deleted. An add job command can be restricted to those jobs which are enabled by default, this would eliminate misuse.

@stale
Copy link

stale bot commented Sep 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

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

5 participants