Files
librenms/daily.sh
T
Paul Gear 2d4217995e Merge pull request #309 from laf/issue-laf-55
Removed --no-edit for git pull, not a valid command before git 1.7.10
2014-10-28 08:44:13 +10:00

13 lines
223 B
Bash

#!/bin/bash
cd $(dirname $0) || exit 1
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