Mercurial > hg > soundsoftware-site
view deploy/any/run-cron-scripts.sh @ 1613:90bed4e10cc8 deploy
Download file link
author | Chris Cannam |
---|---|
date | Wed, 30 Aug 2017 17:24:37 +0100 |
parents | 1c904260787b |
children | 44f001af7f6a |
line wrap: on
line source
#!/bin/bash set -e cd /var/www/code for t in minutely hourly daily monthly; do for s in deploy/config/cron.$t/[0-9]* ; do name=$(basename $s) actual="/etc/cron.$t/$name" echo "Running cron script $actual..." "$actual" done done