#!/bin/csh -f

set result=`ps aux | grep location_receive |wc -l`

if($result < 2)then
	cd /www/ansys/xmpp
	java -classpath .:/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib:/usr/share/java/postgresql-jdbc3.jar receive location_receive receive
endif

