Solved

Hi Can I invoke a script in solaris through windows?

Posted on 2008-10-26
2
318 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
2 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now