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