We have many phantoms doing various stuff in the background. We're running
Universe (and previously PI/Open) and we have to do nothing special to get
these phantom processes to keep running when the parent process is logged
out.

All we do is the standard "PHANTOM program.id". 

Maybe under UniData there's a problem with the parent logging out - but not
under UniVerse.

AdrianW


-----Original Message-----
From: Sara Burns [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 4 May 2004 09:19
To: U2 List ([EMAIL PROTECTED])
Subject: RE: [U2] PHANTOM forever


We discovered this problem with our phantom which sends data to Oracle.  We
have developed a double stage method to disconnect it from the user.

Initially we write the command to launch the phantom to a file - we call
ours SCRIPTS, which contains the command of the structure
echo "program name " | /uv/bin/uv >./\&PH\&/name of log file in &PH&) 2>&1 &

Then we have an item in the VOC which contains
SH -c 'full path to the item in SCRIPTS'

Our initialisation program writes the entry in SCRIPTS then executes the
item in the VOC.  In the past we extended this to be able to run multiple
phantoms doing the same job.  Improved hardware means we don't need
multiples now.

This was originally developed using UniData and we have since ported it to
UniVerse.  It works well.

Sara Burns (SEB) 
Development Team Leader
Public Trust 
Phone: +64 (04) 474-3841 (DDI) 
Mobile: 027 457 5974
<mailto:[EMAIL PROTECTED]>
Information contained in this communication is confidential. If you are not
the intended recipient the information should not be used, disclosed, copied
or commercialised. The information is not necessarily the views nor the
official communication of Public Trust. No guarantee or representation is
made that the communication is free of errors, virus or interference.
Disclaimer.  This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and
delete the e-mail and any attachments without using or disclosing the
contents in any way. The views expressed in this e-mail are those of the
author, and do not represent those of this company unless this is clearly
indicated. You should scan this e-mail and any attachments for viruses. This
company accepts no liability for any direct or indirect damage or loss
resulting from the use of any attachments to this e-mail.
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to