librenms/daily.sh

18 lines
322 B
Bash
Raw Normal View History

2015-07-25 16:13:50 +00:00
#!/usr/bin/env bash
2015-07-25 16:13:50 +00:00
set -eu
2015-07-25 16:13:50 +00:00
cd "$(dirname "$0")"
if [ "$(php daily.php -f update)" -eq 1 ]; then
git pull --quiet
php includes/sql-schema/update.php
fi
php daily.php -f syslog
php daily.php -f eventlog
php daily.php -f authlog
2015-07-25 16:13:50 +00:00
php daily.php -f perf_times
2015-04-06 19:47:28 +00:00
php daily.php -f callback
php daily.php -f device_perf