I use following script for Orion Start
perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;"
>>log/ORION.LOG
perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;"
>>log/ORION.ERR
java -Xmx160m -Dxml.rewrite=false -jar orion.jar 1>>log/ORION.LOG
2>>log/ORION.ERR
perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;"
>>log/ORION.LOG
perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;"
>>log/ORION.ERR
and this script fot log viewing
start "ORION LOG" tail -f log/ORION.LOG
start "ORION ERORRS" tail -f log/ORION.ERR
And same (much like) under Unix
PS:
perl - www.perl.com,
tail - unix utilites for NT