docker-stats-histo/save_docker_stats.sh

15 lines
233 B
Bash
Executable File

#!/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