deputy 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/deputy.gemspec +1 -1
- data/lib/deputy.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.18
|
data/deputy.gemspec
CHANGED
data/lib/deputy.rb
CHANGED
@@ -81,7 +81,7 @@ module Deputy
|
|
81
81
|
VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
|
82
82
|
|
83
83
|
def self.install_cron
|
84
|
-
executable =
|
84
|
+
executable = `which deputy`.strip
|
85
85
|
`crontab -l | { cat; echo "* * * * * #{executable} --run-plugins >> /tmp/deputy.log 2>&1"; } | crontab -`
|
86
86
|
end
|
87
87
|
|