postfix-stats/collector_runner.sh

14 lines
169 B
Bash
Executable File

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