Posted by
Niall Ross on
May 20, 2015; 2:14pm
URL: https://forum.world.st/How-to-create-a-lot-of-Store-reps-automatically-tp4826914p4827651.html
Dear Johannes,
if you look at #createInstallScript, you can
a) Use it to create an SQL script and then make 50 copies, changing
whatever needs to be changed for each in a copying script you write.
or
b) Make the first statement in #createInstallScript scriptable so the
connection profile is set up to each of the 50 logins you want in turn,
switch off the
installScript := true.
line and edit or wrap some dialog lines while running your 50
timesRepeat loop calling it. (I can email you the dialog-wrapping code
for this if you choose that route - just email me - as we use it for
testing the #createInstallScript method.)
In short, as Tom says, we don't already have a prepared and tested
script but you could certainly write one.
HTH
Niall Ross
>Hi,
>
>I have to install Store reps for about 50 separate student teams on our Postgres server. What is the best way to build a script to do this. I don’t want to "Store.DbRegistry installDatabaseTables“ t0 times.
>
>Any hints are welcome.
>
>Thank you!
>
>Johannes
>
>
>
>________________________________
>
>
>Staatlich anerkannte private Fachhochschule
>NORDAKADEMIE
>Gemeinnützige Aktiengesellschaft
>Köllner Chaussee 11
>25337 Elmshorn
>
>Vorstand:
>Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)
>
>Vorsitzender des Aufsichtsrats:
>Dr. h.c. Hans-Heinrich Bruns
>
>Sitz:
>Elmshorn, Amtsgericht Pinneberg, HRB 1682
>
>
>_______________________________________________
>vwnc mailing list
>
[hidden email]
>
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc>
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc