docker-stats-histo/generate_html.sh

15 lines
304 B
Bash
Raw Normal View History

2021-12-02 20:01:26 +00:00
#!/usr/bin/env bash
set -eu
# Move in repo folder
SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
pushd "${SCRIPT_PATH}" > /dev/null
venv/bin/python generate_html.py stats.sqlite /home/caracals/services/org-caracals-files/files/stats.html
# Back to original path
popd > /dev/null