[ic] Need to restart ic continuously
Thu, 12 Oct 2000 14:37:38 PDT
Ed -- thanks for the help.
I don't really understand my own problem either. If I did, I would have a
clue as to where to look, or start to try to fix it.
When I try to run the below script, I get the following output:
./restart_mvend.cgi: /my/local/directory/ic/bin/MINIVEND_DBFILE=1: no such
file or directory
When I am in /my/local/directory/ic/bin at the command line I can do:
HOW do I make the script do this?
>From: Ed LaFrance <firstname.lastname@example.org>
>Date: Thu, 12 Oct 2000 08:49:57 -0700
>I guess I don't understand something about your problem. Just add those
>lines to the shell script. If they generate output, redirect it to the
>null device. Does this work?
>var=`ps -ax | grep "servername/ic" | grep -v -c grep`
>if [ 0 -eq $var ]
>/my/local/directory/ic/bin/export MINIVEND_DBFILE >/dev/null
>- Ed L.
>>[snip] I just need a script that does:
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at