Mercurial > hg > soundsoftware-site
diff extra/soundsoftware/scripted-deploy/config/cron.hourly/40-export-git @ 1586:d0d59d12db94 dockerise
Add some cron scripts, update
author | Chris Cannam |
---|---|
date | Wed, 16 Aug 2017 16:58:22 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/soundsoftware/scripted-deploy/config/cron.hourly/40-export-git Wed Aug 16 16:58:22 2017 +0100 @@ -0,0 +1,3 @@ +#!/bin/bash +logfile="/var/www/code/log/export-git.log" +sudo -u code sh -c "cd /tmp ; /var/www/code/extra/soundsoftware/export-git.sh production /var/hg /var/files/git-mirror >> $logfile 2>&1"