blob: 8fb7b6213034b8952d119f77cd71785b6a480144 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/sh
DOMAIN="spragg-ssl.co.uk"
SITEROOT="/srv/www/${DOMAIN}"
DATE=`/bin/date +%Y-%m-%d`
LOGFILE="${SITEROOT}/log/updates.${DATE}.log"
TSFMT="%b %d %H:%M:%S"
# Update rawdog
/usr/bin/rawdog --dir "${SITEROOT}/rawdog" --update --write 2>&1 | /usr/bin/ts "${TSFMT} rawdog:" >>"${LOGFILE}"
|