Allow custom email key for overnight scripts
This commit is contained in:
parent
5a4e2701df
commit
f97401009e
3 changed files with 13 additions and 5 deletions
|
@ -18,4 +18,9 @@ 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
|
||||
$RATTAIL run-n-mail --no-versioning --skip-if-empty <%text>\</%text>
|
||||
% if email_key is not Undefined and email_key:
|
||||
--key '${email_key}' <%text>\</%text>
|
||||
% endif
|
||||
--subject 'Overnight automation: ${automation}' <%text>\</%text>
|
||||
${envroot}/app/overnight-${automation.lower()}.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue