docker-stats-histo/save_docker_stats.sh
2021-11-21 19:03:58 +01:00

15 lines
233 B
Bash

#!/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 save_docker_stats.py
# Back to original path
popd > /dev/null