Skip to main content

Show HN: Loop, run a command in loop and nothing else https://ift.tt/crEqK87

Show HN: Loop, run a command in loop and nothing else This is a small utility to loop a command, in a shell. This is deceptively simple, you can loop a command forever, or loop until it is succeeded or failed. Currently, it really does nothing else than a bash `for` and `sleep`, but I intend to add the possibility of running a command in loop, in parallel. In conjonction with some tests/stress tools (like https://hurl.dev who I am one of the maintainer), I think this can be useful to other... $ loop --iter 4 --delay 1000 date Tue Aug 9 06:59:58 CEST 2022 Tue Aug 9 06:59:59 CEST 2022 Tue Aug 9 07:00:00 CEST 2022 Tue Aug 9 07:00:01 CEST 2022 https://ift.tt/ILSozvd August 9, 2022 at 11:26AM

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