The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Commentary: ISO should kick OOXML off the standards bus iBot UNIX and Linux RSS News 0 01-26-2008 10:30 AM
repairing application whitemotel UNIX for Dummies Questions & Answers 0 06-13-2006 10:21 PM
sms application parvathy IP Networking 1 05-29-2005 12:42 AM
Application getting killed after one day ??? Help !!!! ajphaj UNIX for Dummies Questions & Answers 6 02-25-2005 12:16 AM
Remedy application TRUEST UNIX for Advanced & Expert Users 1 02-12-2003 11:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-19-2003
vbshuru vbshuru is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 7
Unhappy Kick off Application on PC from Sun

I need to kick off an application on windows from my sun workstation. The workstation needs to know when windows application completes the job.

What are the possible ways of doing it.
Any ideas on how to go about doing it will be very helpful.

Thxs in advance.
  #2 (permalink)  
Old 11-19-2003
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
can the app on your windows machine look for a trigger file?

IE: if your app sees a specific file it knows to 1) delete the file 2) to execute.
  #3 (permalink)  
Old 11-20-2003
vbshuru vbshuru is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 7
Question

Optimus_P,

I am not sure what you mean?
  #4 (permalink)  
Old 11-20-2003
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
  
 

Join Date: Nov 2003
Location: Maryland
Posts: 449
Providing more information about the applications would be helpful.

Let me prelude this with the following statement: There are probably better ways to do this. There are RPC abilities within Windows, but I have no experience with them.

You could always install Cygwin on your Windows system to give you unix like facilities to communicate with (http://cygwin.com/).

Cheers,

Keith
  #5 (permalink)  
Old 11-20-2003
linuxpenguin's Avatar
linuxpenguin linuxpenguin is offline Forum Advisor  
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 295
Hi,

Dont know if this may sound too complex, but here is what I would have done (offcourse only if i had known windows programming )

you can have your solaris application open a socket and listen on a port and a socket on windows that would write to this port after completion of the job, thus notifying it. once the solaris socket gets this info it can then continue with what you want it to continue with

I can tell you further on the unix side of this, for windows please spare me !!

Warm
Regards
  #6 (permalink)  
Old 11-20-2003
linuxpenguin's Avatar
linuxpenguin linuxpenguin is offline Forum Advisor  
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 295
forgot to mention one thing, the file approach is a bit crude and surely inefficient method.
  #7 (permalink)  
Old 11-21-2003
vbshuru vbshuru is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 7
Thumbs up

thanks to both kduffin and linuxpenguin.

I think what I was looking for was what linuxpenguin said.
My system really needs a unix box to communicate with a Windows box. The client sits on the windows box and server + db on the unix box.

Is there any other ways of doing this? I have never coded with sockets, so I have no idea where to start.

Any help - suggestions - comments - ideas ??
Sponsored Links
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0