Reputation: 783
I need to create a simple script (batch, python etc.) which I can run from my windows machine that will set the config spec and update the snapshot view that exists on some other machines.
Is there a clearcase command that do that ? Or should I use psexec or something similar that will run the command on each machine ? Thanks
Upvotes: 1
Views: 144
Reputation: 1324586
There are two issues:
how to contact and run remote commands on other machines?
Considering recent Windows 10 come with SSH integrated with Git for Windows, or even OpenSSH server, you could use that for other Linux machines.
For other Windows machines, psexec
or winrs
are possible alternatives (See also WMI or ControlUp).
But unless you can open a remote session as admin, you won't probably have access to the snapshot view, which could be created in the Windows User profile (protected).
what ClearCase command to run?
Probably cleartool setcs
(I mentioned here a snapshot view would always be updated after a setcs
)
Upvotes: 0