Let caller override config paths for luigi overnight scripts

This commit is contained in:
Lance Edgar 2022-11-27 12:47:39 -06:00
parent ebf94fb7dc
commit a9bbee572a
3 changed files with 9 additions and 5 deletions

View file

@ -2,9 +2,9 @@
cd ${envroot}
RATTAIL="bin/rattail --config=app/cron.conf"
export RATTAIL_CONFIG_FILES=${overnight_conf}
$RATTAIL overnight -k ${automation.lower()} <%text>\</%text>
bin/rattail overnight -k ${automation.lower()} <%text>\</%text>
--no-versioning <%text>\</%text>
% if email_key is not Undefined and email_key:
--email-key '${email_key}' <%text>\</%text>

View file

@ -2,9 +2,9 @@
cd ${envroot}
RATTAIL="bin/rattail --config=app/cron.conf"
export RATTAIL_CONFIG_FILES=${overnight_conf}
$RATTAIL overnight -k ${automation.lower()} <%text>\</%text>
bin/rattail overnight -k ${automation.lower()} <%text>\</%text>
--no-versioning <%text>\</%text>
% if email_key is not Undefined and email_key:
--email-key '${email_key}' <%text>\</%text>