Title: RE: [U2] PHANTOM forever

Dana,

How about trying a cron job or looking in to your inittab man pages?

I personally have never wanted to make an infinite loop, however I have made my share on accident.

I am sure this type of logic will do the trick but it might just run away and spawn so many jobs that you have no resources or UNIDATA Lic for your users.

LOOP                                                                      

PHANTOM {WORK HERE program or PA etc}             

REPEAT            

# No conditional 

# I personally would be very careful with this.  One miss step here and you might just regret this later.

A better way would likely be researching making the process a daemon... (from my AIX Man pages)

Files Reference                                                                

                                                                               

-------------------------------------------------------------------------------

                                                                               

inittab File                                                                   

                                                                               

Purpose                                                                        

                                                                               

Controls the initialization process.                                           

                                                                               

Description                                                                    

                                                                               

The /etc/inittab file supplies the script to the init command's role as a      

general process dispatcher. The process that constitutes the majority of the   

init command's process dispatching activities is the /etc/getty line process,  

which initiates individual terminal lines. Other processes typically dispatched

by the init command are daemons and the shell.


Keith Johnson

Systems Administrator                            Programmer / Analyst

Lewis-Clark State College (LCSC)   208.792.2510

500 8th Ave.                                   

Lewiston, ID 83501

-----Original Message-----
From: Dana Baron [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 03, 2004 9:35 AM
To: U2-Users
Subject: [U2] PHANTOM forever

Greetings,

Looking for some advice with Phantoms (seems to be a theme lately). I have a

udt program that I want to have always running (infinite loop). I want to

start this as a background process using PHANTOM. Pretty straight forward so

far. How can I do this so the process keeps running even after I log out the

process that started it?

Unidata 5.2;   Tru64 Unix 5.1A

Thanks for any help

Dana Baron

System Manager

Smugglers' Notch Resort



-------

u2-users mailing list

[EMAIL PROTECTED]

http://www.u2ug.org/listinfo/u2-users

Reply via email to