• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running unix script in multiple Threads

 
Shanky Sohar
Ranch Hand
Posts: 1051
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am running a unix script from multiple threads,by passing some input parameter like directory name etc.

In the unix script i am login to some other envirnment and trying to SFTP files from there to my own server directory.

These files are in different directory & needs to be copied in different location on the server.

Now the problem coming is,when the scipt is doing copy task to some directory.

Other thread which is also running the same script comes and changes the directory which leads the files to get copied at different location.

Any suggestions to resolve this.

Thanks
Shanky



 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean "changes the directory"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic