?
Solved

Hi Can I invoke a script in solaris through windows?

Posted on 2008-10-26
2
Medium Priority
?
324 Views
Last Modified: 2013-12-27
Hi,

Is there any way by which I can invoke a script in solaris from a windows machine.

I need to invoke the script each time I recieve a mail in outlook with a particular subject.

Example when ever I get a mail with subject "clean up" (throuh microsoft outlook) , I need to invoke a script in solaris to do the cleanup. Is that possible?
0
Comment
Question by:conversekid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 2000 total points
ID: 22808436
You need to use ssh or putty s/w to run remote command.

If you want to avoid being prompted for password, you need to set trust between the two accounts on the two systems.

Please see:

http://www.astro.caltech.edu/~mbonati/WIRC/manual/DATARED/setting_up_no-password_ssh.html
http://waelchatila.com/2005/06/06/1118124232757.html
http://www.cvrti.utah.edu/~dustman/no-more-pw-ssh/

Please see similar question:

http://www.experts-exchange.com/OS/Linux/Administration/Q_23248175.html

0
 
LVL 14

Expert Comment

by:arthurjb
ID: 22809793
You should really give us your problem rather than your solution.  (Running a script is a solution.)

Where does the email come from?  If it comes from the solaris machine, it is much easier to start thing on that machine when the email is sent, rather than trying to start it from a windows machine.

It may also be something that could be done as a cron job rather than the process that you are suggesting.

If the clean up is removing files and such to make more space, you could probably set up a script on the solaris box that takes care of things with no outside interaction necessary.

So, if you can tell us more about the big picture, someone here can probably give you a much better solution then the one you are suggesting...
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question