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 +4 -4
- data/README.md +9 -2
- data/lib/saj_collector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ccfdffcdae1a39e2dd6c63f08c0e228bfa7442
|
4
|
+
data.tar.gz: 8d8553bdd74cb798b03118318ec8d60d79ebdb5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2016-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pvoutput
|