14 lines
169 B
Bash
14 lines
169 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Go into appropriate directory
|
||
|
cd `dirname $0`
|
||
|
|
||
|
# Load settings
|
||
|
. ./settings.sh
|
||
|
|
||
|
# Run the collector
|
||
|
while true; do
|
||
|
./collector.sh;
|
||
|
sleep 30;
|
||
|
done
|