SIMPLEVISOR-LOOP(1)

πŸ“¦ version 1.2, in epel 9

πŸ’– simplevisor-loop β€” bestie edition πŸ’–

okay so this is the simplevisor-loop(1) page from the simplevisor-loop man page, and honestly? it's giving "tiny program, huge main character energy." let's get into it 🫢


✨ NAME ✨

simplevisor-loop β€” runs whatever command you hand it, in a loop, over and over πŸ”


πŸ¦‹ SYNOPSIS πŸ¦‹

simplevisor-loop [OPTIONS] COMMAND...

🌸 DESCRIPTION 🌸

so here's the vibe: by default this program runs the command you gave it in a loop, forever, until the command fails β€” and by "fails" we mean it returns a non-zero exit status. that's the whole stop condition. iconic, honestly πŸ’…

you can also:

  • make it sleep between consecutive executions of the command (peep the --sleep option πŸ‘€)
  • make it stop after a set number of executions (peep the --count option πŸ‘€)

that's it. that's the program. lowkey perfect.


πŸŽ€ OPTIONS πŸŽ€

  • --count, -c INTEGER β€” stop after the command has been executed this many times. like, "okay bestie you've done enough, wrap it up" πŸ’€
  • --daemon β€” detach simplevisor-loop so it becomes a daemon running in the background; debug, warning and error messages get sent to syslog. it's out here living its own life offline, no cap 🧚
  • --debug, -d β€” show debugging information. turn this on when you need to know everything πŸ”
  • --help, -h, -? β€” show some help. we love a supportive little flag 🀝
  • --manual, -m β€” show this manual. that's literally this page, hi, you're here πŸ“–
  • --pidfile PATH β€” use this pid file. this is how other instances find each other, iykyk πŸͺͺ
  • --quit β€” tell another instance of simplevisor-loop to quit. which instance? the one identified by its pid file, as specified by the --pidfile option. passive-aggressive but make it unix 😌
  • --sleep, -s NUMBER β€” sleep for this many seconds between executions of the command; can be fractional. yes, decimals are allowed, go wild with your 0.5s ⏰
  • --status β€” get the status of another instance of simplevisor-loop (again, identified by its pid file, as specified by the --pidfile option); the exit code will be zero if the instance is alive and non-zero otherwise. built-in vibe check fr fr βœ…

πŸ‘‘ AUTHOR πŸ‘‘

Lionel Cons <http://cern.ch/lionel.cons>

Copyright (C) CERN 2012-2016


and that's the whole page, bestie 🌈 β€” the simplevisor-loop man page, dated 2016-06-27, brought to you straight from the source. mwah, go loop something πŸ’œπŸŽ€

πŸ“¦ where this page comes from