A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Threads and Synchronization
Running unix script in multiple Threads
Joined: Mar 17, 2010
Apr 22, 2013 04:39:20
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.
Ranchers from Delhi
Joined: Jan 03, 2004
Apr 22, 2013 09:02:14
What do you mean "changes the directory"?
Have you checked out
subject: Running unix script in multiple Threads
Need to FTP the files which are older than 10 days to other server in unix
unable to find login configuration file
Servlet: "action" failed to preload on startup in Web application: "MyAPPName"
Calling Unix script from JSP on UNIX server
Websphere 5.1- Application Deployment issue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015