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

Add CLI commands #173

Open
jkemp101 opened this issue Dec 23, 2020 · 3 comments
Open

Add CLI commands #173

jkemp101 opened this issue Dec 23, 2020 · 3 comments

Comments

@jkemp101
Copy link
Member

Some initial work was explored in #48 to allow inspecting/dumping queues from the command line. Administrators could benefit from a CLI that allowed manipulating queues and tasks.

@tinvaan
Copy link

tinvaan commented Dec 2, 2022

@jkemp101 is there a feature spec or a rough list of commands available for this?

#48 had the following, but the branch was deleted. are you able to restore it?

  • Print queue statistics
  • Dump all tasks to /tmp/tasks.db file and clear queue:
  • Dump all tasks in queue and do not save them to sqlite3 database
  • Dump a batch of tasks to /tmp/tasks.db but leave them on queue
  • Count number of tasks dumped to sqlite3 database
  • View dump info in db file

@jkemp101
Copy link
Member Author

jkemp101 commented Dec 2, 2022

We haven't really had a big need for this and therefore haven't given too much thought about moving forward with adding a CLI. Is this something you have a need for?

@tinvaan
Copy link

tinvaan commented Dec 2, 2022

Honestly I'm not going to use it as much either, but I'm happy to help with triaging/fixing if needed. However, if there isn't a real need for anyone, probably best to close this issue for now.

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

2 participants