Hi Joe. A solution I employ was given to me by Ron Deen via the list. I've modified it slightly to fit our installation, but it works every time. Here is the email Ron sent to me: ***************************** What I did for PI: In the script that starts the PI client I added a test for the presence of the FoxAPI progs. The count of 5 programs (-lt 5) includes the "grep foxapi" utility of course. while [ `ps -ef|grep foxapi|wc -l` -lt 5 ] do echo "Foxapi not running yet" sleep 10 done After this I run the PI start script. Simple but at least a bit conditional. You can make it more intelligent of course... **************************** Hope it answers your question. John L. Wolf Systems Analyst Tilden Mining Co. L.C. -----Original Message----- From: Joe Sanguinetti [mailto:Joe.Sanguinetti@xxxxxxxxxxxx] Sent: Wednesday, February 27, 2002 11:45 AM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] Foxapi Applications I have a few Applications that use Foxapi. What is the best way to start these up when the machine is rebooted so I know Foxapi is running before I start them. Does anyone have a good solution for this? Joe _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave