Solved

Hi Can I invoke a script in solaris through windows?

Posted on 2008-10-26
2
320 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In this article I will provide some simple productivity hacks that will help you use Google to specifically show results from any web site (Experts-Exchange.com in my example), with minimal effort in Chrome and Firefox. I've seen a common theme a…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

810 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