#!/bin/bash cd $(dirname $0) cat .paid-queries | while read PARAMS do ./check-paid.sh $PARAMS done