From e26ccab66416998c2a67e9d4360920ff0c9e235f Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Mon, 9 Nov 2015 16:28:20 +0100 Subject: [PATCH] update script for monitoring switch temparature --- master/etc/cron.d/getswitchtemp | 4 +++- master/{root/bin => opt/script}/get_switch_temperature | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) rename master/{root/bin => opt/script}/get_switch_temperature (94%) diff --git a/master/etc/cron.d/getswitchtemp b/master/etc/cron.d/getswitchtemp index e76173b..6335203 100644 --- a/master/etc/cron.d/getswitchtemp +++ b/master/etc/cron.d/getswitchtemp @@ -1,2 +1,4 @@ # m h dom mon dow user command -0-59/5 * * * * root /root/bin/get_switch_temperature +#0-59/5 * * * * root /opt/script/get_switch_temperature swg1 +#1-59/5 * * * * root /opt/script/get_switch_temperature swg1 +#2-59/5 * * * * root /opt/script/get_switch_temperature swm diff --git a/master/root/bin/get_switch_temperature b/master/opt/script/get_switch_temperature similarity index 94% rename from master/root/bin/get_switch_temperature rename to master/opt/script/get_switch_temperature index 64eb005..26c3767 100755 --- a/master/root/bin/get_switch_temperature +++ b/master/opt/script/get_switch_temperature @@ -1,6 +1,6 @@ #!/bin/sh -CONNECT_SWITCH=/root/bin/connect_switch.tcl +CONNECT_SWITCH=/opt/script/connect_switch PROGNAME=$(basename $0) -- 2.30.2