This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
forked from Rykian/clockwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clockworkd.1
62 lines (43 loc) · 1.73 KB
/
clockworkd.1
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
.TH CLOCKWORKD 1 "August 2014" "Ruby Gem" "clockwork"
.SH NAME
clockworkd - daemon executing clockwork scripts
.SH SYNOPSIS
\fBclockworkd\fR [-c \fIFILE\fR] [\fIOPTIONS\fR] {start|stop|restart|run}
.SH DESCRIPTION
\fBclockworkd\fR executes clockwork script as a daemon.
You will need the \fBdaemons\fR gem to use \fBclockworkd\fR. It is not automatically installed, please install by yourself.
.SH OPTIONS
.TP
\fB--pid-dir\fR=\fIDIR\fR
Alternate directory in which to store the process ids. Default is \fIGEM_LOCATION\fR/tmp.
.TP
\fB-i\fR, \fB--identifier\fR=\fISTR\fR
An identifier for the process. Default is clock file name.
.TP
\fB-l\fR, \fB--log\fR
Redirect both STDOUT and STDERR to a logfile named clockworkd[.\fIidentifier\fR].output in the pid-file directory.
.TP
\fB--log-dir\fR=\fIDIR\fR
A specific directory to put the log files into. Default location is pid directory.
.TP
\fB-m\fR, \fB--monitor\fR
Start monitor process.
.TP
\fB-c\fR, \fB--clock\fR=\fIFILE\fR
Clock .rb file. Default is \fIGEM_LOCATION\fR/clock.rb.
.TP
\fB-d\fR, \fB--dir\fR=\fIDIR\fR
Directory to change to once the process starts
.TP
\fB-h\fR, \fB--help\fR
Show help message.
.SH BUGS
If you find a bug, please create an issue \fIhttps://github.com/tomykaira/clockwork/issues\fR.
For a bug fix or a feature request, please send a pull-request. Do not forget to add tests to show how your feature works, or what bug is fixed. All existing tests and new tests must pass (TravisCI is watching).
.SH AUTHORS
Created by Adam Wiggins.
Inspired by rufus-scheduler and resque-scheduler.
Design assistance from Peter van Hardenberg and Matthew Soldo.
Patches contributed by Mark McGranaghan and Lukáš Konarovský.
.SH SEE ALSO
\fIhttps://github.com/tomykaira/clockwork\fR.