1CLOCKWORKD(1) clockwork CLOCKWORKD(1)
2
3
4
6 clockworkd - daemon executing clockwork scripts
7
8
10 clockworkd [-c FILE] [OPTIONS] {start|stop|restart|run}
11
12
14 clockworkd executes clockwork script as a daemon.
15
16 You will need the daemons gem to use clockworkd. It is not automati‐
17 cally installed, please install by yourself.
18
19
21 --pid-dir=DIR
22 Alternate directory in which to store the process ids. Default
23 is GEM_LOCATION/tmp.
24
25
26 -i, --identifier=STR
27 An identifier for the process. Default is clock file name.
28
29
30 -l, --log
31 Redirect both STDOUT and STDERR to a logfile named clock‐
32 workd[.identifier].output in the pid-file directory.
33
34
35 --log-dir=DIR
36 A specific directory to put the log files into. Default location
37 is pid directory.
38
39
40 -m, --monitor
41 Start monitor process.
42
43
44 -c, --clock=FILE
45 Clock .rb file. Default is GEM_LOCATION/clock.rb.
46
47
48 -d, --dir=DIR
49 Directory to change to once the process starts
50
51
52 -h, --help
53 Show help message.
54
55
57 If you find a bug, please create an issue
58 https://github.com/tomykaira/clockwork/issues.
59
60 For a bug fix or a feature request, please send a pull-request. Do not
61 forget to add tests to show how your feature works, or what bug is
62 fixed. All existing tests and new tests must pass (TravisCI is watch‐
63 ing).
64
65
67 Created by Adam Wiggins.
68
69 Inspired by rufus-scheduler and resque-scheduler.
70
71 Design assistance from Peter van Hardenberg and Matthew Soldo.
72
73 Patches contributed by Mark McGranaghan and Lukáš Konarovský.
74
75
77 https://github.com/tomykaira/clockwork.
78
79
80
81Ruby Gem August 2014 CLOCKWORKD(1)