Mercurial > hg > soundsoftware-site
comparison deploy/any/run-cron-scripts.sh @ 1614:96bcc0ebd102 live
Merge from branch deploy
author | Chris Cannam |
---|---|
date | Tue, 05 Sep 2017 11:19:50 +0100 |
parents | 1c904260787b |
children | 44f001af7f6a |
comparison
equal
deleted
inserted
replaced
1568:bc47b68a9487 | 1614:96bcc0ebd102 |
---|---|
1 #!/bin/bash | |
2 | |
3 set -e | |
4 | |
5 cd /var/www/code | |
6 | |
7 for t in minutely hourly daily monthly; do | |
8 for s in deploy/config/cron.$t/[0-9]* ; do | |
9 name=$(basename $s) | |
10 actual="/etc/cron.$t/$name" | |
11 echo "Running cron script $actual..." | |
12 "$actual" | |
13 done | |
14 done |