Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-15-2010, 10:18 AM
nallak nallak is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
how to run shell scripts from windows

Here's the situation:
We have created scheduled jobs in CRON on all of our AIX lpars (about 10 of them) and the scheduled tasks are about 300.
Whenever a request comes in to perform a task we login to the servers and schedule the job manually. These requests are of "ON DEMAND" type, so there's no specific time or date that we run them consistently.

Is there a way I can run the script from my laptop (windows OS) using SSH? I have Secure CRT installed on my laptop. If so, can you provide a sample script.
Reply With Quote
  #2  
Old 12-15-2010, 10:47 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi nallak,

Thanks for the question. You can find the script manual that should help you write your script at the following location:
http://www.vandyke.com/support/tips/...ing/index.html
After you have created your script, you could create a Windows task to execute the script via SecureCRT. The Using the Software / Command-Line Options chapter has information for using SecureCRT from the command-line.

For example:
Code:
securecrt.exe /script c:\temp\script.vbs /s <session_name>
Does this help to answer your question?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 12-15-2010, 11:24 AM
nallak nallak is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
thanks Todd. Will give it a try.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump


All times are GMT -6. The time now is 03:35 PM.