shell script

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

bupu2612

Thread Starter
Joined
Jan 25, 2013
Messages
2
hi techies,

my OS : AIX 6.0
There are several processes running on this system, but recently some processes will crash and these are very critical processes.

I needed help on a script that will be place on cron to run every 1hr to check these few process incase of any crash they should restart them auotmatically.

Thanks for your help!!.
 

TerryNet

Terry
Moderator
Joined
Mar 23, 2005
Messages
80,906
You forgot to include the script and information on what problem(s) you have with it.
 

bupu2612

Thread Starter
Joined
Jan 25, 2013
Messages
2
hi TerryNet

terry by process i mean.....say there is a script running continuously to perform a particular task, like loading data to a DB, and recently these script keeps crashing because of some corrupted data(files) and what happen's is each time these happen's i need to restart the script manually,
now what i need is a secondary script that will check(acting like a watchman) if the first script is running or not ( if it's tunning ignore otherwise restart).
Hope that help you to help me here.
 

TerryNet

Terry
Moderator
Joined
Mar 23, 2005
Messages
80,906
I doubt that you will find anyone willing to write a script for you, regardless of whether this is a school assignment or a work assignment that is over your head.

Helping with a script that you have written and are having trouble debugging is another matter. There are members who may have the knowledge and willingness to help with that.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top