simplevisor-loop - Man Page
execute the given command in a loop
simplevisor-loop [Options] COMMAND...
By default, this program executes the given command in a loop, forever, until the command fails (i.e. return a non zero exit status).
It can optionally sleep between consecutive executions of the command (see the --sleep option) and stop after a given number of executions (see the --count option).
- --count, -c INTEGER
stop after having executed the command the given number of times
detach simplevisor-loop so that it becomes a daemon running in the background; debug, warning and error messages get sent to syslog
- --debug, -d
show debugging information
- --help, -h, -?
show some help
- --manual, -m
show this manual
- --pidfile PATH
use this pid file
tell another instance of simplevisor-loop (identified by its pid file, as specified by the --pidfile option) to quit
- --sleep, -s NUMBER
sleep during the given number of seconds between executions of the command; can be fractional
get the status of another instance of simplevisor-loop (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
Lionel Cons <http://cern.ch/lionel.cons>
Copyright (C) CERN 2012-2021