cognos在linux下如何重启

来源:百度知道 编辑:UC知道 时间:2024/07/07 23:20:49

#====user environment====start====

# .bsh_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

PATH=$PATH:$HOME/bin:/opt/con/cognos/c8_64/bin64
JAVA_HOME=/opt/con/jdk1.6.0_20
export PATH
export JAVA_HOME
unset USERNAME

#====user environment===end====
echo ===========shutdown================
/opt/con/cognos/c8_64/bin64/cogconfig.sh -stop
sleep 120
echo ===========startup.sh==============
/opt/con/cognos/c8_64/bin64/cogconfig.sh -s