saj_collector 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb0e2fd857c4c83e5610e636e274fa24f65f246f
4
- data.tar.gz: 5d19044efcfa542fdb6070e87ec554a6607f8eb1
3
+ metadata.gz: 86ccfdffcdae1a39e2dd6c63f08c0e228bfa7442
4
+ data.tar.gz: 8d8553bdd74cb798b03118318ec8d60d79ebdb5d
5
5
  SHA512:
6
- metadata.gz: d2c6ff7d9e8aaa5e763d88f345e79a5bad9b464e00a7d37405b1ab273d04190016e134a22acbff2f8db72d6b1655531f468f28136259cde16283cc0a93b9e18c
7
- data.tar.gz: 6162c218efce7da2a1c55c4edcbb0c1d7034644fe8e2d198c1cd86334d020d0ec39769ecf729b10a8d410a6750d85b7612ed63122408311eba09ce572258a5c4
6
+ metadata.gz: d67f7578cd202ad46023b255fc82148237164980fcbf67c50c0a131fed5522ee67827c6e26c812907fcb98afe9bcdddc2dabc17fbd8571b80d22606e39d0e9d5
7
+ data.tar.gz: fc8fdec7be11c55303163e1e6ae0e6ab7012cf94a76d666b33a04f625613fc2247e1bbde116e6abda19aa183e8829df21f4b25d9bb6ba3422f4da5c118a3b087
data/README.md CHANGED
@@ -28,7 +28,7 @@ Run the SAJ Collector in a screen or via init of some sort
28
28
 
29
29
  This will run the current power generation frm the SAJ Collector and push the
30
30
  data once to PVOutput. You can add
31
- saj_collector to your crontab or a custom script to let it automatically push with
31
+ ``saj_collector`` to your crontab or a custom script to let it automatically push with
32
32
  a certain frequency.
33
33
 
34
34
  Run the SAJ Output Collector in a screen or via init of some sort
@@ -38,9 +38,16 @@ Run the SAJ Output Collector in a screen or via init of some sort
38
38
  This will retrieve the generation of each day of the current month and
39
39
  push the data once to PVOutput.
40
40
  You can add
41
- saj_output_collector to your crontab or a custom script to let it automatically push with
41
+ ``saj_output_collector`` to your crontab or a custom script to let it automatically push with
42
42
  a certain frequency.
43
43
 
44
+ At the moment you add any of these to your crontab you have to make sure
45
+ that the ``saj_collector.yaml`` file can be found. For example when you put the ``saj_collector.yaml`` file
46
+ in /usr/local/bin (and also the gem) and want to run it each 5 minutes between 6AM and 10PM you should
47
+ add to your crontab
48
+
49
+ */5 6-22 * * * cd /usr/local/bin && ruby /usr/local/bin/saj_collector
50
+
44
51
  ## Development
45
52
 
46
53
  After checking out the repo, run `bin/setup` to install dependencies.
@@ -1,3 +1,3 @@
1
1
  module SAJCollector
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saj_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnny Willemsen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pvoutput