2022-01-28 15:29:32 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
cd ${envroot}
|
|
|
|
|
2022-11-20 15:54:58 -06:00
|
|
|
RATTAIL="bin/rattail --config=app/cron.conf"
|
2022-01-28 15:29:32 -06:00
|
|
|
|
2022-11-20 15:54:58 -06:00
|
|
|
$RATTAIL overnight ${automation.lower()} <%text>\</%text>
|
|
|
|
--no-versioning <%text>\</%text>
|
2022-11-20 20:02:48 -06:00
|
|
|
% if email_key is not Undefined and email_key:
|
|
|
|
--email-key '${email_key}' <%text>\</%text>
|
|
|
|
% endif
|
|
|
|
--no-email-if-empty <%text>\</%text>
|
|
|
|
--wait
|