spiff-arena/spiffworkflow-backend/bin/start_blocking_apscheduler

16 lines
395 B
Bash
Executable File

#!/usr/bin/env bash
function error_handler() {
echo >&2 "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
exit "$2"
}
trap 'error_handler ${LINENO} $?' ERR
set -o errtrace -o errexit -o nounset -o pipefail
script_dir="$(
cd -- "$(dirname "$0")" >/dev/null 2>&1
pwd -P
)"
"${script_dir}/wait_for_db_schema_migrations"
exec poetry run ./bin/start_blocking_appscheduler.py