server/process/orders-process

9 lines
179 B
Text
Raw Normal View History

#!/bin/sh
SCRIPT=$(readlink -f "$0")
SCRDIR=$(dirname "$SCRIPT")
cd "$SCRDIR" || exit
2014-04-27 03:03:14 +02:00
lockfile -r3 -l120 orders.queue.lock
python process-orders.py "$@"
rm -f orders.queue.lock