Skip to main content

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 04:31AM

Comments

Popular posts from this blog

Show HN: KittenDNS – easy to setup, rule engine, LetsEncrypt compatible https://ift.tt/JEbrc0i

Show HN: KittenDNS – easy to setup, rule engine, LetsEncrypt compatible My goal was to create a DNS server as simple as the LDAP server I've been contributing to (glauth) and here it is: https://ift.tt/i6S4IHQ A few things to know about it: - It is easy to configure using a Toml file - I am using it to bail my coredns/etcd instances when under attack - (yes, it also works as a service location server) - It comes with a simple, plain English, rule engine that doesn't do much at this point - It can be used with LetsEncrypt. I use it to retrieve certificates for my home servers. - RFC: all the nice ones :) Anyway, feedback is welcome. May 16, 2022 at 03:34AM