add dim script to update site

This commit is contained in:
ExpoOnServer 2011-07-14 02:45:56 +01:00
parent ed2f3a977d
commit d12ee38ce0

12
updateweb Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#LOGFILE=~expo/logs/cronlog
#echo "Starting expo website update script"
echo `date`
echo "Changing to directory: ~expo/expoweb"
cd ~expo/expoweb
echo -e "Running 'hg update'\n-------------"
hg update
echo -e "Regenerating website\n-------------"
make