diff options
author | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-03-03 14:25:32 +0000 |
---|---|---|
committer | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-03-03 14:25:32 +0000 |
commit | ab6e28417a9195fe03b8355a808a81276d0435ff (patch) | |
tree | 3bf903f2dea07ac27b7de2168e76182ce0974a0c /Readme.textile | |
parent | 220ebc31c057bbf47eec1cccbbae8b3cf2190d24 (diff) |
Added command line config
Diffstat (limited to 'Readme.textile')
-rw-r--r-- | Readme.textile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Readme.textile b/Readme.textile index aa4750d..d5f5f3a 100644 --- a/Readme.textile +++ b/Readme.textile @@ -9,7 +9,9 @@ Longboat will pick up all jobs in the lib/jobs directory. Each job consists of: * a file with a snake_case name, such as @my_job.rb@ * containing a single class with a CamelCase name matching the file name, such as @MyJob@ * with two methods: -** @initialize@, which takes a single argument of the collector to @report!@ the metrics to +** @initialize@, which takes two arguments of: +*** the collector to @report!@ the metrics to, and +*** a hash containing config relevant to jobs ** @run@, no arguments, which triggers a job run and metric report @Longboat::Collector#report!@ takes as arguments: |