rattail-fabric2/rattail_fabric2/deploy/luigi/restart-overnight.sh.mako
Lance Edgar 25891902b8 Make each overnight script optional
trying to phase out at least 1, maybe 2 of them...

this also cleans up the 'restart' script to use 'rattail overnight'
per recent changes.  this seems the most useful to have around, in
case of web app failure
2022-11-20 20:03:28 -06:00

14 lines
357 B
Mako

#!/bin/sh -e
cd ${envroot}
RATTAIL="bin/rattail --config=app/cron.conf"
$RATTAIL overnight ${automation.lower()} <%text>\</%text>
--no-versioning <%text>\</%text>
% if email_key is not Undefined and email_key:
--email-key '${email_key}' <%text>\</%text>
% endif
--email-if-empty <%text>\</%text>
--no-wait