summary refs log tree commit diff
path: root/catsit-timer.1
blob: 9ad8956bc8d29f4059581d3eb802dcbbc5552a9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.Dd February 25, 2021
.Dt CATSIT-TIMER 1
.Os
.
.Sh NAME
.Nm catsit-timer
.Nd run command at interval
.
.Sh SYNOPSIS
.Nm
.Ar interval
.Ar command ...
.
.Sh DESCRIPTION
The
.Nm
utility runs a command
at an interval.
The command is run once immediately,
then again every
.Ar interval
after waiting for the command to exit
each time.
The
.Nm
utility is not appropriate
for scheduling commands
to run at specific times.
.
.Pp
The format of the
.Ar interval
specifier is a series of integers
followed by units:
.Cm s
for seconds,
.Cm m
for minutes
and
.Cm h
for hours.
An integer with no unit
is assumed to be in seconds.
The
.Ar interval
is the sum of each
integer-unit pair.
For example,
.Cm 1m30s
is equivalent to
.Cm 90s .
.
.Sh EXIT STATUS
If the command exits non-zero,
.Nm
exits with the same status.
.
.Sh SEE ALSO
.Xr catsitd 8
.
.Sh AUTHORS
.An June Bug Aq Mt june@causal.agency
span title='2022-06-10 15:41:21 -0400'>2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe