#!/usr/bin/env bash
PYENV=~/anaconda3/envs/env
SCRIPT=/home/kgao/Code/curr_projects/ncGenerate/AossTower/aosstower/level_a0/autoRun.py
(
    flock -x -n 200 || exit $?
    $PYENV/bin/python $SCRIPT
) 200>"/tmp/$(basename $0).lock"
