server/process/orders-process

8 lines
149 B
Plaintext
Raw Normal View History

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