diff --git a/kill_mail_sync.sh b/kill_mail_sync.sh new file mode 100644 index 0000000..d6d6db8 --- /dev/null +++ b/kill_mail_sync.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Kill all the scripts: +echo "Killing the script." +pkill -9 -f "$(pwd)/background/finstitutions/trading/tick_in_stateful.py" + +# All done: +echo "Done!" +exit 0 \ No newline at end of file diff --git a/run_mail_sync.sh b/run_mail_sync.sh new file mode 100644 index 0000000..ea20224 --- /dev/null +++ b/run_mail_sync.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Use this to run the microservice without any docker setup. +source .venv/bin/activate +python3 "$(pwd)/cron/message/mail/auto_sync.py" --script-id "kps_cnv_KBC3MoaU" --batch-size 25 --debug & +deactivate + +# All done: +echo "Done!" +exit 0 \ No newline at end of file