SCM process created by daemon start and registered with daemon register not usable
Hello RTC users,
logon and start one daemon for each process, note that we may need a seperate directory/ sandbox for each of these operations to do this in a parallel fashion
start-job -scriptblock { Set-Location "$($args[2])" &"$($args[0])" "daemon" "start" "$($args[2])" "--port" "61934" } -ArgumentList $scmLoc, $configDir, $itemCacheDir
fire up scm then wait for 30 seconds to let daemon start up
Start-Sleep -Seconds 10
Set-Location "$($itemCacheDir)" &"$($scmLoc)" "daemon" "register" "61934" "$($itemCacheDir)"
set current location to itemcache directory
&"$($lscmLoc)" "login" "-r" "$($rtcURL)" "-u" "$($rtcUser)" "-P" "$($rtcPass)" "-n" "jazzhost"
Accepted answer
Comments
Thanks very much for your reply, it helps.
I also have the complication where I may have 10 file revisions eg: - fred.doc, would be weirdName;1, weirdName;2 ....
The script could hopefully
The pseudo code is meant to indicate that I deliver after sharing multiple files, I'm sharing them one at a time.
Thanks very much for your help on this, couple of your tips allowed me to solve my problems
Comments
Richard Good
Mar 20 '19, 12:43 p.m.sorry about formatting, I try and fix it and it flags it as spam, weird ;-(