- Impact
- 91
hi
i am looking for a shell script that will restart some basic services at given intervals.
I am looking to restart mysql service, lighttpd service, ftp service, and any other service that you think is critical to the working of a VPS (i have a proxy network)
I am looking for this script becasue my proxies sometimes tend to overload the server due to which the server crashes. will this script work in this scenario??
please post the exact coding because i am a noob to linux command line and will probably get more confused if there are any changes that need to be made
also, is it possible to send a mail of its results to my email id? if so, how to do it (if it requires relatively simple coding)
thanks a lot
i am looking for a shell script that will restart some basic services at given intervals.
I am looking to restart mysql service, lighttpd service, ftp service, and any other service that you think is critical to the working of a VPS (i have a proxy network)
I am looking for this script becasue my proxies sometimes tend to overload the server due to which the server crashes. will this script work in this scenario??
please post the exact coding because i am a noob to linux command line and will probably get more confused if there are any changes that need to be made
also, is it possible to send a mail of its results to my email id? if so, how to do it (if it requires relatively simple coding)
thanks a lot






