[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] Need to restart ic continuously
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.
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users