The method we use is obvious (in hindsight) ...

Not sure what it's called - it used to be AT, and is the Windows
equivalent of cron ...

That isn't time controlled. It can be, but it can also be event
controlled. And one of the events that are controlled is a reboot. So we
can/did/do run a uv command from the windows command line using this
mechanism to restart all our phantoms after the nightly reboot.

You probably want to put a "sleep" into the windows .cmd file, otherwise
you may find your UV command tries to run before the UV server has fully
woken up.

Cheers,
Wol 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Troy Buss (Logitek Systems)
Sent: 09 March 2004 19:52
To: 'U2 Users Discussion List'
Subject: RE: UV - is there a coldstart equivalent

Thanks everyone that replied with suggestions.

We are running on win 2003 server.

I had an idea to check system(3001) which is the universe user1
performance
monitor.

I can change it using:

  ASSIGN 1 TO SYSTEM(3001)

It shows up in the windows performance monitor, but:

  PRINT SYSTEM(3001) 

always returns 0.

My thought was to make all application logons go through a simple check
at
logon and if the value was zero, to dispatch a phantom, increment the
value
and continue. thus providing a mechanism to launch a phantom process the
first time someone logs in after a reboot.

i.e.:

  VALUE = SYSTEM(3001)
  IF VALUE = 0 THEN
   EXECUTE "PHANTOM background.process...."
  END
  VALUE = VALUE + 1
  ASSIGN VALUE TO SYSTEM(3001)


I'm wondering why one can set the value "system(3001..3005) but there
seems
to be no way to interrogate the value.
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users




***********************************************************************************

This transmission is intended for the named recipient only. It may contain private and 
confidential information. If this has come to you in error you must not act on 
anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, 
or show it to anyone. Please e-mail the sender to inform us of the transmission error 
or telephone ECA International immediately and delete the e-mail from your information 
system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong 
Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

***********************************************************************************

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to