#!/bin/bash LOC=`dirname $0` if [ "$1" == "--loop" ] then rails runner 'PurgeRequest.purge_all_loop' else rails runner 'PurgeRequest.purge_all' fi