User's Manual
D-44 Customizing the DecisioNet System
UNIX Automatic Restart
The DecisioNet System in the UNIX environment has a script file
located in the /appl/epl/bin/ directory that runs every 30 minutes via
CRON and starts the following EPL applications that may have been
stopped.
• Logger
• CBS Manager
• EPL Scheduler
• Table Manager
Edit this file to add or delete EPL applications for your system-specific
requirements.
#############################################################################
#
# File: eplcron.sh
#
# Copyright: Copyright (c) NCR Corp., 1996
#
# Author: ncr_cmh
#
#############################################################################
# Change History:
# DATE PERSON MODIFICATION
# ---- ------- ------------
#
#############################################################################
epldir=`pkgparam eplbaseap BASDIR`
epluser=`pkgparam eplbaseap EPL_USER`
pid=`ps -e | awk ' $4 == "eslogger" { print $1 }'`
if [ -z "$pid" ]
then
su - $epluser -c "cd $epldir/bin;umask 007;scripts/S00logger &"
fi
pid=`ps -e | awk ' $4 == "escbsmgr" { print $1 }'`
if [ -z "$pid" ]
then
su - $epluser -c "cd $epldir/bin;umask 007;scripts/S10cbsmgr &"
fi
pid=`ps -e | awk ' $4 == "essched" { print $1 }'`
if [ -z "$pid" ]
then