Add generic Luigi install logic

at least try to do what we can to reduce boilerplate
This commit is contained in:
Lance Edgar 2022-01-28 15:29:32 -06:00
parent ca59000287
commit 6bf697da1d
9 changed files with 302 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#!/bin/sh -e
<%text>############################################################</%text>
#
# overnight automation (${automation}) via cron
#
<%text>############################################################</%text>
if [ "$1" = "--verbose" ]; then
VERBOSE='--verbose'
PROGRESS='--progress'
else
VERBOSE=
PROGRESS=
fi
cd ${envroot}
RATTAIL="bin/rattail --config=app/cron.conf $PROGRESS"
$RATTAIL run-n-mail --no-versioning --skip-if-empty --subject 'Overnight automation: ${automation}' ${envroot}/app/overnight_${automation.lower()}.sh