Re: [U2] Start job on Universe boot under Windows

2011-09-14 Thread Symeon Breen
Sorry - yes udt on *nix



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: 13 September 2011 21:35
To: U2 Users List
Subject: Re: [U2] Start job on Universe boot under Windows

Symeon might have been referring to the *nix world.

Windows is probably a different animal.

In the *nix world, you could add some additional functionality to the script
that actually starts U2, which is an operating system shell script.

I remember the coldstart stuff on our old Ultimate System.  Its funny, you
gain some, you lose some as new technology rolls along.  Its all based on
what the software engineers perceive you needing

On Tue, Sep 13, 2011 at 4:31 PM, Bill Haskett wphask...@advantos.netwrote:

 Really?   I could only find a startud.exe in our UDT bin directory on
our
 Windows 2008 R2 machine, but no script.  I seem to remember, in Pick,
there
 was the user-coldstart item that always ran just after the
 system-coldstart, which ran just as the dbms came up.  Consequently, all
 start functionality could be contained within the dbms and wouldn't ever
 depend on the platform.

 I could be wrong though...it's been known to happen more often than I care
 to remember.  :-)

 Bill

 --**--**
 
 - Original Message -
 *From:* syme...@gmail.com
 *To:* 'U2 Users List' u2-users@listserver.u2ug.org
 *Date:* 9/13/2011 12:30 PM
 *Subject:* Re: [U2] Start job on Universe boot under Windows

  Not sure if it is the same with uv, but with ud - the startup script is
 'startud', this is just a script and you can add commands to the bottom.



 -Original Message-
 From:
u2-users-bounces@listserver.**u2ug.orgu2-users-boun...@listserver.u2ug.org

[mailto:u2-users-bounces@**listserver.u2ug.orgu2-users-bounces@listserver.u
2ug.org]
 On Behalf Of Bill Haskett
 Sent: 13 September 2011 17:45
 To: U2 Users List
 Subject: Re: [U2] Start job on Universe boot under Windows

 I have no idea why the U2 products don't have this capability; then
 these things would run every time U2 starts!  Instead, we have to futz
 around with the O/S and if we restart U2, without restarting the O/S,
 then these things have to be manually started.  I've gotten used to the
 idea that if I want to restart U2 I  have to restart the O/S.  :-(

 I've submitted this to U2 on several occasions, but I think it's one of
 those D3 things that is anathema to U2 engineers.  :-)

 Bill

 --**--**
 
 - Original Message -
 *From:* wjhon...@aol.com
 *To:* u2-users@listserver.u2ug.org
 *Date:* 9/13/2011 9:36 AM
 *Subject:* [U2] Start job on Universe boot under Windows

 Back in the olden times, we used to stuff things into WarmStart to make

 them start at boot time.

 Where do I stick them in Universe to make them start when Universe
 starts?
 I'd *prefer* a place that is Universe generic (will work the same under

 *nix or Windows).

 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org

http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2u
g.org/mailman/listinfo/u2-users
 -
 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 10.0.1392 / Virus Database: 1520/3894 - Release Date: 09/13/11

 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org

http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2u
g.org/mailman/listinfo/u2-users


 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org

http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2u
g.org/mailman/listinfo/u2-users




-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3894 - Release Date: 09/13/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Start job on Universe boot under Windows

2011-09-14 Thread Brian Leach
In Windows you don't have the 'rc' style entry points - it's all started as
services.

You can use the Windows task scheduler to run a command on start-up, but it
needs to know that the UniVerse service has started successfully before it
kicks in.

So there are two options:

1. Use the task scheduler but write your command as a piece of VBScript and
use a UniObjects connection to connect locally to UniVerse and kick off your
startup paragraph. 

That means the script can loop until it gets a valid connection, but it's
rather inelegant and would need to have the connection credentials in the
script itself - bad!

2. Execute path_to\uv.exe your_paragraph in a command wrapped into a
service. 

If you Google around there are a few free apps out there that will wrap a
regular windows command line into a service - or you can use .net to create
a quick-and-simple service app to do the same thing. 

You can then create a dependency between your service and the Universe
resource service, which means it won't try to start until Universe has been
brought up.

Brian




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Start job on Universe boot under Windows

2011-09-13 Thread Bill Haskett
I have no idea why the U2 products don't have this capability; then 
these things would run every time U2 starts!  Instead, we have to futz 
around with the O/S and if we restart U2, without restarting the O/S, 
then these things have to be manually started.  I've gotten used to the 
idea that if I want to restart U2 I  have to restart the O/S.  :-(


I've submitted this to U2 on several occasions, but I think it's one of 
those D3 things that is anathema to U2 engineers.  :-)


Bill


- Original Message -
*From:* wjhon...@aol.com
*To:* u2-users@listserver.u2ug.org
*Date:* 9/13/2011 9:36 AM
*Subject:* [U2] Start job on Universe boot under Windows

Back in the olden times, we used to stuff things into WarmStart to make them 
start at boot time.


Where do I stick them in Universe to make them start when Universe starts?
I'd *prefer* a place that is Universe generic (will work the same under *nix or 
Windows).


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Start job on Universe boot under Windows

2011-09-13 Thread Symeon Breen
Not sure if it is the same with uv, but with ud - the startup script is
'startud', this is just a script and you can add commands to the bottom.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: 13 September 2011 17:45
To: U2 Users List
Subject: Re: [U2] Start job on Universe boot under Windows

I have no idea why the U2 products don't have this capability; then 
these things would run every time U2 starts!  Instead, we have to futz 
around with the O/S and if we restart U2, without restarting the O/S, 
then these things have to be manually started.  I've gotten used to the 
idea that if I want to restart U2 I  have to restart the O/S.  :-(

I've submitted this to U2 on several occasions, but I think it's one of 
those D3 things that is anathema to U2 engineers.  :-)

Bill


- Original Message -
*From:* wjhon...@aol.com
*To:* u2-users@listserver.u2ug.org
*Date:* 9/13/2011 9:36 AM
*Subject:* [U2] Start job on Universe boot under Windows
 Back in the olden times, we used to stuff things into WarmStart to make
them start at boot time.


 Where do I stick them in Universe to make them start when Universe starts?
 I'd *prefer* a place that is Universe generic (will work the same under
*nix or Windows).

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3894 - Release Date: 09/13/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Start job on Universe boot under Windows

2011-09-13 Thread Bill Haskett
Really?   I could only find a startud.exe in our UDT bin directory on 
our Windows 2008 R2 machine, but no script.  I seem to remember, in 
Pick, there was the user-coldstart item that always ran just after the 
system-coldstart, which ran just as the dbms came up.  Consequently, 
all start functionality could be contained within the dbms and wouldn't 
ever depend on the platform.


I could be wrong though...it's been known to happen more often than I 
care to remember.  :-)


Bill


- Original Message -
*From:* syme...@gmail.com
*To:* 'U2 Users List' u2-users@listserver.u2ug.org
*Date:* 9/13/2011 12:30 PM
*Subject:* Re: [U2] Start job on Universe boot under Windows

Not sure if it is the same with uv, but with ud - the startup script is
'startud', this is just a script and you can add commands to the bottom.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: 13 September 2011 17:45
To: U2 Users List
Subject: Re: [U2] Start job on Universe boot under Windows

I have no idea why the U2 products don't have this capability; then
these things would run every time U2 starts!  Instead, we have to futz
around with the O/S and if we restart U2, without restarting the O/S,
then these things have to be manually started.  I've gotten used to the
idea that if I want to restart U2 I  have to restart the O/S.  :-(

I've submitted this to U2 on several occasions, but I think it's one of
those D3 things that is anathema to U2 engineers.  :-)

Bill


- Original Message -
*From:* wjhon...@aol.com
*To:* u2-users@listserver.u2ug.org
*Date:* 9/13/2011 9:36 AM
*Subject:* [U2] Start job on Universe boot under Windows

Back in the olden times, we used to stuff things into WarmStart to make

them start at boot time.

Where do I stick them in Universe to make them start when Universe starts?
I'd *prefer* a place that is Universe generic (will work the same under

*nix or Windows).

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3894 - Release Date: 09/13/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Start job on Universe boot under Windows

2011-09-13 Thread John Thompson
Symeon might have been referring to the *nix world.

Windows is probably a different animal.

In the *nix world, you could add some additional functionality to the script
that actually starts U2, which is an operating system shell script.

I remember the coldstart stuff on our old Ultimate System.  Its funny, you
gain some, you lose some as new technology rolls along.  Its all based on
what the software engineers perceive you needing

On Tue, Sep 13, 2011 at 4:31 PM, Bill Haskett wphask...@advantos.netwrote:

 Really?   I could only find a startud.exe in our UDT bin directory on our
 Windows 2008 R2 machine, but no script.  I seem to remember, in Pick, there
 was the user-coldstart item that always ran just after the
 system-coldstart, which ran just as the dbms came up.  Consequently, all
 start functionality could be contained within the dbms and wouldn't ever
 depend on the platform.

 I could be wrong though...it's been known to happen more often than I care
 to remember.  :-)

 Bill

 --**--**
 
 - Original Message -
 *From:* syme...@gmail.com
 *To:* 'U2 Users List' u2-users@listserver.u2ug.org
 *Date:* 9/13/2011 12:30 PM
 *Subject:* Re: [U2] Start job on Universe boot under Windows

  Not sure if it is the same with uv, but with ud - the startup script is
 'startud', this is just a script and you can add commands to the bottom.



 -Original Message-
 From: 
 u2-users-bounces@listserver.**u2ug.orgu2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-bounces@**listserver.u2ug.orgu2-users-boun...@listserver.u2ug.org]
 On Behalf Of Bill Haskett
 Sent: 13 September 2011 17:45
 To: U2 Users List
 Subject: Re: [U2] Start job on Universe boot under Windows

 I have no idea why the U2 products don't have this capability; then
 these things would run every time U2 starts!  Instead, we have to futz
 around with the O/S and if we restart U2, without restarting the O/S,
 then these things have to be manually started.  I've gotten used to the
 idea that if I want to restart U2 I  have to restart the O/S.  :-(

 I've submitted this to U2 on several occasions, but I think it's one of
 those D3 things that is anathema to U2 engineers.  :-)

 Bill

 --**--**
 
 - Original Message -
 *From:* wjhon...@aol.com
 *To:* u2-users@listserver.u2ug.org
 *Date:* 9/13/2011 9:36 AM
 *Subject:* [U2] Start job on Universe boot under Windows

 Back in the olden times, we used to stuff things into WarmStart to make

 them start at boot time.

 Where do I stick them in Universe to make them start when Universe
 starts?
 I'd *prefer* a place that is Universe generic (will work the same under

 *nix or Windows).

 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2ug.org/mailman/listinfo/u2-users
 -
 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 10.0.1392 / Virus Database: 1520/3894 - Release Date: 09/13/11

 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2ug.org/mailman/listinfo/u2-users


 __**_
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2ug.org/mailman/listinfo/u2-users




-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users