rattail-fabric2/rattail_fabric2/deploy/luigi/restart-overnight.sh.mako
Lance Edgar 6bf697da1d Add generic Luigi install logic
at least try to do what we can to reduce boilerplate
2022-01-28 15:29:32 -06:00

6 lines
250 B
Mako

#!/bin/sh -e
DATE=`date --date='yesterday' +%Y-%m-%d`
echo "${envroot}/bin/rattail -c ${appdir}/cron.conf --no-versioning run-n-mail -S 'Overnight catch-up: ${automation}' '${appdir}/overnight-${automation.lower()}.sh $DATE'" | at 'now + 1 minute'