Solved

Hi Can I invoke a script in solaris through windows?

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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need to remove or skip  grub protection password in ubuntu on boot time 2 83
Word 2010 mail merge 3 110
audit logs in excel spreadsheet 1 308
awk sed variable in file 3 98
Outline Suppose you have some simple text based data in Excel that you would like to display as a PowerPoint presentation. Of course it would be possible to write some fairly complex VBA code that created a new slide for each line of the Excel data…
I recently resolved a client's Office 2013 installation problem and wanted to offer an observation that may help you with troubleshooting similar issues. The client ordered three Dell Optiplex system units with the Windows 7 downgrade option inst…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

749 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