Add generic Luigi install logic
at least try to do what we can to reduce boilerplate
This commit is contained in:
parent
ca59000287
commit
6bf697da1d
9 changed files with 302 additions and 0 deletions
5
rattail_fabric2/deploy/luigi/restart-overnight.sh.mako
Normal file
5
rattail_fabric2/deploy/luigi/restart-overnight.sh.mako
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
DATE=`date --date='yesterday' +%Y-%m-%d`
|
||||
|
||||
echo "${envroot}/bin/rattail -c ${appdir}/cron.conf --no-versioning run-n-mail -S 'Overnight catch-up: ${automation}' '${appdir}/overnight-${automation.lower()}.sh $DATE'" | at 'now + 1 minute'
|
Loading…
Add table
Add a link
Reference in a new issue