Win,
I have one more question, in your example
p4task /task:1.1.1.1:8837:TK_Z_TASKTEST /env:GloviaEnvironment /oper:TSK:TSK /codiv:PTI
I believe 8837 is the port which opens for Windows to access Unix?
When I install Unix bus and task, I use the port 5435 and therefore my script is
./p4task /task:g2:5435:TK_SF_WO_COMPLETION /env:prod /user:prodapij:tsdjp123 /codiv:GLO /oper:TSK:TSK /params:CCN=$1,MAS_LOC=$2,WO_NUM=$3,WO_LINE=$4
In order to use Windows p4task.exe to start Unix task, do I replace my 5354 to your 8837?
I just installed a windows p4task.exe, I got the following error when execute:
C:\Glovia\bus\apisample>p4task /task:192.168.0.4:5453:tk_sf_wo_completiion /env:
prod /user:prodapij:tsdjp123
doConnect: connect failed: Host '192.168.0.4', port 5453
last WIN32 error 10061 / winsock error 10061: Connection refused
p4OpenPro4: sockOpen to bus daemon failed
No error
p4OpenPro4 failed: Last Error 1, StatusCode 0, FailReason 0, SubError 0
When I changed the port to 23 (I believe it is a universal port for accessing the Unix server:
C:\Glovia\bus\apisample>p4task /task:192.168.0.4:23:TK_SF_WO_COMPLETION /env:pro
d /user:prodapij:tsdjp123 /codiv:GLO /oper:TSK:TSK
p4OpenPro4: recv Reply failed
last WIN32 error 2 / winsock error 2: Unknown
p4OpenPro4 failed: Last Error 30, StatusCode 0 (OK), FailReason 0, SubError 0
I think I am close but I need some more helps....
Thanks,
Vol