1SIMPLEVISOR-LOOP(1) simplevisor-loop man page SIMPLEVISOR-LOOP(1)
2
3
4
6 simplevisor-loop - execute the given command in a loop
7
9 simplevisor-loop [OPTIONS] COMMAND...
10
12 By default, this program executes the given command in a loop, forever,
13 until the command fails (i.e. return a non zero exit status).
14
15 It can optionally sleep between consecutive executions of the command
16 (see the --sleep option) and stop after a given number of executions
17 (see the --count option).
18
20 --count, -c INTEGER
21 stop after having executed the command the given number of times
22
23 --daemon
24 detach simplevisor-loop so that it becomes a daemon running in the
25 background; debug, warning and error messages get sent to syslog
26
27 --debug, -d
28 show debugging information
29
30 --help, -h, -?
31 show some help
32
33 --manual, -m
34 show this manual
35
36 --pidfile PATH
37 use this pid file
38
39 --quit
40 tell another instance of simplevisor-loop (identified by its pid
41 file, as specified by the --pidfile option) to quit
42
43 --sleep, -s NUMBER
44 sleep during the given number of seconds between executions of the
45 command; can be fractional
46
47 --status
48 get the status of another instance of simplevisor-loop (identified
49 by its pid file, as specified by the --pidfile option); the exit
50 code will be zero if the instance is alive and non-zero otherwise
51
53 Lionel Cons <http://cern.ch/lionel.cons>
54
55 Copyright (C) CERN 2012-2021
56
57
58
59 2019-08-23 SIMPLEVISOR-LOOP(1)