Show HN: qme: simple utility for queueing long-running commands https://ift.tt/3Am2sHP
Show HN: qme: simple utility for queueing long-running commands I keep needing a way to run long-running resource intensive tasks after one another. Normally, I'd write a script which loops over the items, but not knowing what needs to run (I pick files as I go through a folder), I knew it's time I create something to scratch my own itch. So, I've created this utility to queue up commands. It captures command, args, env and working directory and puts it in a queue, and runs it when it's time. At the same time, it spins up an RPC server to receive commands from other instances. If there's no server available, it becomes a server itself and waits for commands or shuts itself down after idling for some time. This is my first (published) Golang project, so guidance & review would be appreciated. https://ift.tt/3fMMi0O January 22, 2022 at 05:31AM
Komentar
Posting Komentar