diff --git a/rattail_fabric2/deploy/luigi/cron-overnight.sh.mako b/rattail_fabric2/deploy/luigi/cron-overnight.sh.mako index de5d855..95c73bd 100755 --- a/rattail_fabric2/deploy/luigi/cron-overnight.sh.mako +++ b/rattail_fabric2/deploy/luigi/cron-overnight.sh.mako @@ -6,21 +6,13 @@ <%text>############################################################ -if [ "$1" = "--verbose" ]; then - VERBOSE='--verbose' - PROGRESS='--progress' -else - VERBOSE= - PROGRESS= -fi - cd ${envroot} -RATTAIL="bin/rattail --config=app/cron.conf $PROGRESS" +RATTAIL="bin/rattail --config=app/cron.conf" -$RATTAIL run-n-mail --no-versioning --skip-if-empty <%text>\ +$RATTAIL overnight ${automation.lower()} <%text>\ + --no-versioning <%text>\ % if email_key is not Undefined and email_key: - --key '${email_key}' <%text>\ + --email-key '${email_key}' <%text>\ % endif - --subject 'Overnight automation: ${automation}' <%text>\ - ${envroot}/app/overnight-${automation.lower()}.sh + --no-email-if-empty