#!/bin/sh

CLIENT=/home/arch/skumar2/charm/net-linux/pgms/scheduler/client
if [ "x$SCHEDULER_PATH" != "x" ]
    then CLIENT=$SCHEDULER_PATH/client;
fi

HOST=localhost
PORT=1999

if [ "$1" = "-help" ] || [ "$1" = "-h" ];
	then echo "fshutdown shuts down the faucets scheduler, need to be root to shutdown the scheduler";
else
   $CLIENT $HOST $PORT command shutdown 
fi
	
