From 3b46779bf37709eb79684025fb14275f3b7abe33 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 11 Dec 2007 21:40:31 +0000 Subject: [PATCH] changes in xcatmon.pm to work with the relocatable packaging git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/monitoring/xcatmon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/monitoring/xcatmon.pm b/xCAT-server-2.0/lib/xcat/monitoring/xcatmon.pm index 69cb2fe72..f53067e2b 100644 --- a/xCAT-server-2.0/lib/xcat/monitoring/xcatmon.pm +++ b/xCAT-server-2.0/lib/xcat/monitoring/xcatmon.pm @@ -97,7 +97,7 @@ sub supportNodeStatusMon { #-------------------------------------------------------------------------------- sub startNodeStatusMon { #print "xcatmon.startNodeStatusMon\n"; - my $newentry="*/3 * * * * $::XCATROOT/sbin/xcatnodemon"; + my $newentry="*/3 * * * * XCATROOT=$::XCATROOT $::XCATROOT/sbin/xcatnodemon"; my ($code, $msg)=xCAT::Utils::add_cron_job($newentry); if ($code==0) { return (0, "started"); } else { return ($code, $msg); }