#!/bin/sh

# set global env setting
. /opt/jilroy/checkit//bin/env

if [ "$1" = "-?" ]
then
	echo	"Usage:monitoringinventory  root_discovery_item_name parameters_file"


else
	$RUN_JAVA com.rj.discovery.Inventory $APP_CONFIG_FILE $1 $2
	$RUN_JAVA com.rj.monitoringplatform.UpdateTblObjectLastUpdateTime $APP_CONFIG_FILE
fi
 
