From b44caefc965c3d3645b6c0f64be34b3f0e2a34de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marc=20Ren=C3=A9=20Sch=C3=A4dler?= Date: Wed, 13 Nov 2013 11:59:54 +0100 Subject: [PATCH] Run statistics (for now only traffic) calculation with "statistics.sh" via crontab every 5 minutes --- bsp/default/root_file_system/etc/crontabs/root | 2 +- bsp/dir300/root_file_system/etc/crontabs/root | 2 +- bsp/fonera/root_file_system/etc/crontabs/root | 2 +- bsp/wr1043nd/root_file_system/etc/crontabs/root | 4 +--- bsp/wr741nd2/root_file_system/etc/crontabs/root | 4 +--- bsp/wr741nd4/root_file_system/etc/crontabs/root | 4 +--- bsp/wr841n8/root_file_system/etc/crontabs/root | 4 +--- bsp/wr841nd7/root_file_system/etc/crontabs/root | 4 +--- 8 files changed, 8 insertions(+), 18 deletions(-) diff --git a/bsp/default/root_file_system/etc/crontabs/root b/bsp/default/root_file_system/etc/crontabs/root index a972dcfc..93ac3070 100644 --- a/bsp/default/root_file_system/etc/crontabs/root +++ b/bsp/default/root_file_system/etc/crontabs/root @@ -1,4 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/dir300/root_file_system/etc/crontabs/root b/bsp/dir300/root_file_system/etc/crontabs/root index 1e31c704..9c266c7f 100644 --- a/bsp/dir300/root_file_system/etc/crontabs/root +++ b/bsp/dir300/root_file_system/etc/crontabs/root @@ -1,4 +1,4 @@ -*/5 * * * * sh /etc/nodewatcher.sh; sh /etc/configurator.sh +*/5 * * * * sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/fonera/root_file_system/etc/crontabs/root b/bsp/fonera/root_file_system/etc/crontabs/root index 1e31c704..9c266c7f 100644 --- a/bsp/fonera/root_file_system/etc/crontabs/root +++ b/bsp/fonera/root_file_system/etc/crontabs/root @@ -1,4 +1,4 @@ -*/5 * * * * sh /etc/nodewatcher.sh; sh /etc/configurator.sh +*/5 * * * * sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/wr1043nd/root_file_system/etc/crontabs/root b/bsp/wr1043nd/root_file_system/etc/crontabs/root index 086aa8c4..4b3df10c 100644 --- a/bsp/wr1043nd/root_file_system/etc/crontabs/root +++ b/bsp/wr1043nd/root_file_system/etc/crontabs/root @@ -1,6 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh - -*/5 * * * * sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/wr741nd2/root_file_system/etc/crontabs/root b/bsp/wr741nd2/root_file_system/etc/crontabs/root index 086aa8c4..4b3df10c 100644 --- a/bsp/wr741nd2/root_file_system/etc/crontabs/root +++ b/bsp/wr741nd2/root_file_system/etc/crontabs/root @@ -1,6 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh - -*/5 * * * * sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/wr741nd4/root_file_system/etc/crontabs/root b/bsp/wr741nd4/root_file_system/etc/crontabs/root index 086aa8c4..4b3df10c 100644 --- a/bsp/wr741nd4/root_file_system/etc/crontabs/root +++ b/bsp/wr741nd4/root_file_system/etc/crontabs/root @@ -1,6 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh - -*/5 * * * * sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/wr841n8/root_file_system/etc/crontabs/root b/bsp/wr841n8/root_file_system/etc/crontabs/root index 086aa8c4..4b3df10c 100644 --- a/bsp/wr841n8/root_file_system/etc/crontabs/root +++ b/bsp/wr841n8/root_file_system/etc/crontabs/root @@ -1,6 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh - -*/5 * * * * sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 #15 01 * * * rdate -s time.fu-berlin.de > /dev/null diff --git a/bsp/wr841nd7/root_file_system/etc/crontabs/root b/bsp/wr841nd7/root_file_system/etc/crontabs/root index 086aa8c4..4b3df10c 100644 --- a/bsp/wr841nd7/root_file_system/etc/crontabs/root +++ b/bsp/wr841nd7/root_file_system/etc/crontabs/root @@ -1,6 +1,4 @@ -*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh - -*/5 * * * * sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 +*/5 * * * * sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/statistics.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1 #15 01 * * * rdate -s time.fu-berlin.de > /dev/null