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

Command for changing priority of a task #104

Open
rohanpm opened this issue Dec 20, 2018 · 0 comments
Open

Command for changing priority of a task #104

rohanpm opened this issue Dec 20, 2018 · 0 comments

Comments

@rohanpm
Copy link
Member

rohanpm commented Dec 20, 2018

kobo should provide a command for resetting the priority of an already-scheduled task. The use-case is to adjust the relative priorities of tasks so that desired tasks are executed first, when the queue is full.

We already have "create-task". Suggestion: this should be a new "modify-tasks" counterpart. Only certain fields of a task could be modified; initially, at least the priority.

Example:

Usage: <command> modify-tasks task_id [task_id...]

Options:
  --priority=PRIORITY     priority
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

1 participant