diff options
author | emkael <emkael@tlen.pl> | 2020-10-09 00:02:36 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-09 00:02:36 +0200 |
commit | d01b92e81d64446799280c064eb8cebc84802cc6 (patch) | |
tree | d45ae01fdd547ff5f4ee6d5acfbb15f71e4648da | |
parent | 9a0ca4d1075f879b812cd8a1b55ab3a2c8e07c40 (diff) |
Sending butler output via lftp
-rwxr-xr-x | ausbutler-single.sh | 3 | ||||
-rw-r--r-- | config.template/send.lftp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh index 2f95c68..820086d 100755 --- a/ausbutler-single.sh +++ b/ausbutler-single.sh @@ -14,6 +14,9 @@ ls config.template | while read CONFIGFILE do envsubst < config.template/$CONFIGFILE > config/$CONFIGFILE done + python jfrteamy-ausbutler/butler.py calculate generate nowait +lftp -f config/send.lftp + echo "Done" diff --git a/config.template/send.lftp b/config.template/send.lftp index 5c422f7..fcbc5da 100644 --- a/config.template/send.lftp +++ b/config.template/send.lftp @@ -1,3 +1,3 @@ -open -u ${LIGA_AUSBUTLER_FTP_USER} -p ${LIGA_AUSBUTLER_FTP_PASS} ${LIGA_AUSBUTLER_FTP_HOST} +open -u ${LIGA_AUSBUTLER_FTP_USER},${LIGA_AUSBUTLER_FTP_PASS} ${LIGA_AUSBUTLER_FTP_HOST} cd ${LIGA_AUSBUTLER_FTP_PATH} mput ${LIGA_AUSBUTLER_OUTPUT_PATH}/* |