Mercurial > hg > soundsoftware-site
diff deploy/config/cron.daily/15-get-statistics @ 1590:c18460da6620 dockerise
Numerous deployment updates
author | Chris Cannam |
---|---|
date | Thu, 17 Aug 2017 16:04:36 +0100 |
parents | d8949733849d |
children |
line wrap: on
line diff
--- a/deploy/config/cron.daily/15-get-statistics Thu Aug 17 13:56:15 2017 +0100 +++ b/deploy/config/cron.daily/15-get-statistics Thu Aug 17 16:04:36 2017 +0100 @@ -1,2 +1,4 @@ #!/bin/bash + sudo -u code sh -c "cd /var/www/code ; ./script/rails runner -e production extra/soundsoftware/get-statistics.rb >> log/statistics.log" +