docker-stats-histo/save_docker_stats.sh

15 lines
233 B
Bash
Raw Normal View History

2021-11-21 18:02:31 +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 save_docker_stats.py
# Back to original path
popd > /dev/null