Mercurial > hg > soundsoftware-site
view deploy/any/run-cron-scripts.sh @ 1610:c6bee0e62957 deploy
Cron-related updates
author | Chris Cannam |
---|---|
date | Tue, 29 Aug 2017 12:10:21 +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