server/process/orders-accept

8 lines
148 B
Bash
Executable File

#!/bin/sh
SCRIPT=$(readlink -f $0)
cd $(dirname $SCRIPT)
lockfile -r3 -l120 orders.queue.lock
python accept-orders.py "$@"
rm -f orders.queue.lock