librenms/daily.sh

10 lines
180 B
Bash

#!/bin/bash
if [ $(php daily.php -f update) -eq 1 ]; then
git pull --no-edit --quiet
php includes/sql-schema/update.php
fi
php daily.php -f syslog
php daily.php -f eventlog