ansible/roles/web-data-analysis/files/sync-http-logs-and-merge.sh
Nils Philippsen ecd8ab8383 Merge syncing and combining logs into one cronjob
This should prevent race conditions of the form that logs are attempted
to be combined while syncing those of individual hosts hasn't finished.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-09-09 10:38:38 +00:00

7 lines
154 B
Bash
Executable file

#!/bin/bash
# Don't attempt to combine if syncing the individual logs failed.
set -e
/usr/local/bin/sync-http-logs.py
/usr/local/bin/combineHttpLogs.sh