- add dedicated agent script

This commit is contained in:
Dmytro Bogovych 2023-09-06 19:56:24 +03:00
parent db4512678a
commit 1256f3ad21
1 changed files with 10 additions and 0 deletions

10
run_agent.sh Executable file
View File

@ -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