Below is the script we can use to run Node manager in background
file1=$home/output/nodemgr10.out
file2=$home/output/nodemgr10.err
suffix=$(date +%s)
newfile1=$home/output/archive/nodemgr10.out.$suffix
newfile2=$home/output/archive/nodemgr10.err.$suffix
cp $file1 $newfile1
cp $file2 $newfile2
nohup $WL_HOME/server/bin/startNodeManager.sh 1>$file1 2>$file2 &
file1=$home/output/nodemgr10.out
file2=$home/output/nodemgr10.err
suffix=$(date +%s)
newfile1=$home/output/archive/nodemgr10.out.$suffix
newfile2=$home/output/archive/nodemgr10.err.$suffix
cp $file1 $newfile1
cp $file2 $newfile2
nohup $WL_HOME/server/bin/startNodeManager.sh 1>$file1 2>$file2 &
No comments:
Post a Comment