cancel
Showing results for 
Search instead for 
Did you mean: 

./cmsdbsetup in a script

former_member704310
Discoverer
0 Kudos

Hello,

I would like to know if it is possible to launch the command line ./cmsdbsetup in a script shell /java for updating datasource automatically ?

Curently i can only launch manually and go step by step to choose right options

Thank you for help, ideas .

A nice day

GC

Accepted Solutions (0)

Answers (1)

Answers (1)

ayman_salem
Active Contributor

Since this script can lead to data loss if entered incorrectly (completely delete the CMS repository), it should ONLY be run manually

former_member704310
Discoverer
0 Kudos

Thank you Ayman. Risks are accepted 😉

I'm looking for a solution with response file for exemple

ayman_salem
Active Contributor
0 Kudos

There are no scripts with response file for this action.

However, once you are familiar with the shell script, you can write your own shell script to deal with a modified cmsdbsetup.sh

former_member704310
Discoverer
0 Kudos

Thank you for your answer.

regards