rattail-fabric2/rattail_fabric2/deploy/backup/restart-overnight-backups.sh.mako

6 lines
234 B
Plaintext
Raw Normal View History

#!/bin/sh -e
DATE=`date --date='yesterday' +%Y-%m-%d`
echo "${envpath}/bin/rattail -c ${envpath}/app/silent.conf --no-versioning run-n-mail -S 'Backups (continued)' '${envpath}/app/overnight-backups.sh $DATE'" | at 'now + 1 minute'