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
2013-04-10 14:49:31 +0200'>2013-04-10ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer 2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld 2013-04-10t0109: chain operations with &&John Keeping 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer