docker-stats-histo/save_docker_stats.sh

15 lines
235 B
Bash
Raw Permalink 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 )"
2021-12-02 20:01:26 +00:00
pushd "${SCRIPT_PATH}" > /dev/null
2021-11-21 18:02:31 +00:00
venv/bin/python save_docker_stats.py
# Back to original path
popd > /dev/null