summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/schedule.rb2
-rwxr-xr-xscript/logout_phones.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/config/schedule.rb b/config/schedule.rb
index 94603f1..f2c1a09 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -7,7 +7,7 @@ end
# Auto-Reboot of Phones which should be rebootet
#
every 1.day, :at => '2:30 am' do
- command "/opt/GS5/script/logout_phones.sh"
+ command "/opt/GS5/script/logout_phones"
end
# Learn more: http://github.com/javan/whenever
diff --git a/script/logout_phones.sh b/script/logout_phones.sh
index 2a1a54e..41e2a40 100755
--- a/script/logout_phones.sh
+++ b/script/logout_phones.sh
@@ -1,4 +1,3 @@
#! /bin/bash
cd /opt/GS5/script/
-source /usr/local/rvm/scripts/rvm
/opt/GS5/script/logout_phones $@