diff options
Diffstat (limited to 'hourly.sh')
-rwxr-xr-x | hourly.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,12 +1,12 @@ #! /bin/sh DOMAIN="spragg-ssl.co.uk" -SITEROOT="/srv/www/$DOMAIN" +SITEROOT="/srv/www/${DOMAIN}" DATE=`/bin/date +%Y-%m-%d` -LOGFILE="$SITEROOT/log/updates.$DATE.log" +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 +/usr/bin/rawdog --dir "${SITEROOT}/rawdog" --update --write 2>&1 | /usr/bin/ts "${TSFMT} rawdog:" >>"${LOGFILE}" |