From 1256f3ad2170f6a3d3fac86c04690247e775653b Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Wed, 6 Sep 2023 19:56:24 +0300 Subject: [PATCH] - add dedicated agent script --- run_agent.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 run_agent.sh diff --git a/run_agent.sh b/run_agent.sh new file mode 100755 index 0000000..d59ec06 --- /dev/null +++ b/run_agent.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Oneliner to find script's directory. Please note - last path component should NOT be symlink. +SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"; + + +while : +do + python3 -u $SCRIPT_DIR/src/agent_gsm.py --config $SCRIPT_DIR/config/agent.yaml +done