473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Unix Automation

Need help for Unix ksh automation.
I have a daily activity whihc need to be done manually every day for which we have 7 to 8 scripts which calls each other to reflect the application and database.
Need to automate this at a specifice time.
The procedure for my work is
1.I run one scripts which initializes the shell and after running this scipts it calls some other scripts and displays a menu on the screen which have few option to enter manually.So i enter option no.1 where in it prompts me for the password.After entering the password other menu gets open wherein it againg prompts me put put some other option according to my daily activity so i enter option no.2 and i enter y to continue and then i enter the name of the script because it prompts me to enter the name of the script which needs to be executed and after this i enter y to continue.This script runs for a while and again it prompt for the user to jsut press enter and after that prompts to put y.
This is the manual work and i need to automate this.
Please provide me the contact number or solution.
Need urgent help.
Best Regards
Anirudh
Nov 6 '08 #1
2 3168
ashitpro
542 Expert 512MB
Hi Anirudh,

Main problem here is automating user inputs...
This can be done by "expect" command....
Rest, you put the main shell script into cron and schedule the job...

Regards,
Ash
Nov 6 '08 #2
for example..This is the way i excute manually
The first scripts is
./abc.ksh
then i enter option 10 to go to production and after this a 2nd menu opens.
Where in in enter option 1 then y and then name of script then again i enter in between the processing of the script and again y and so on..

So please write a script and let me know how to do.
It wud be great if u cund provide me contact detail or if tats the problem u can explain the whole stuff.

Regards
Nov 6 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: alanrn | last post by:
I would like to start a dialog on how to implement the equivalent functionality of UNIX shared memory in .NET. I work with a factory automation system. The bulk of the system is written in C/C++....
25
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's...
1
by: Jimmer | last post by:
I've got what should be an easy automation problem, but the solution simply isn't coming to me. I've got several public variables set up for automation as follows: Public gappExcel As...
1
by: Lee Seung Hoo | last post by:
hi~ :) I need all information of "Automation" or "Automation Object" what is that ? why is it useful ? How can I use that by C# or .Net Framework ?
1
by: sainathr | last post by:
Hi, I would like to run shell scripts with respect to the time mentioned in postgres data base tables. Postgres database should trigger the shell script for the time mentioned in the table. To...
0
by: Sharath | last post by:
Quality Globe is Glad to Offer you the Fast Track course on Automation, QTP Basics and Advanced, and Quality Center Starting Date: June 4th, 2007 Timings: 10 AM to 3:30 PM Duration: 50 Hours ...
0
by: Sharath | last post by:
"Inspired" by the huge success of our first two automation fast track batches We are forced to start third fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first three automation fast track batches We are forced to start fourth fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first four automation fast track batches We are forced to start fifth fast track automation batch ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.