#!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")" while :; do sleep 5 & ./queueWorker wait done