#!/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 "fjobs displays the status of the current jobs in the system, both running and scheduled";
else $CLIENT $HOST $PORT command listjobs $*
fi
	
