[ic] Need to restart ic continuously

Jeff Case jeff_case@hotmail.com
Thu, 12 Oct 2000 15:39:18 PDT


Heheh... so simple when you know how!

Thanks!  Works like a charm.

-=- Also, I think I just figured out that a lot of my errors were popping up 
because my tables were not being EXPORTED and were therefore reverting back 
to their screwed up devil-spawn previous lives on restart =-


>From: Ed LaFrance <edl@newmediaems.com>
>Date: Thu, 12 Oct 2000 14:50:47 -0700
>
>[snip].  You are just setting a session
>variable here.  Take all the path stuff out from in from of the commands,
>and remove the output redirect (assuming the commands do not normally
>produce output):
>
>#!/bin/bash
>var=`ps -ax | grep "servername/ic" | grep -v -c grep`
>if [ 0 -eq $var ]
>then
>MINIVEND_DBFILE=1
>export MINIVEND_DBFILE
>/my/local/directory/ic/bin/restart &
>fi
><<
>
>- Ed L.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.