My bro needs a simple 'restart' script in "red hat linux".
Background info:
Using a WesternDigital (avoid) NAS, running red hat, and it has a program on it "mini_httpd" which is responsible for the web interface which is used to configure/setup the drive.
mini_httpd for whatever reason, crashes every few days.
He wants a script which will close mini_httpd (kill process perhaps?) and re-open it on VERY BASIC schedule (ie. 3:00AM - kill mini_httpd / 3:15AM -execute mini_httpd)
At this stage he's a linux NOOB tho - well versed with DOS / computers in general, but not the linux syntax/language.
Anyone able to post up a simple script/how to run it would be greatly appreciated!
Background info:
Using a WesternDigital (avoid) NAS, running red hat, and it has a program on it "mini_httpd" which is responsible for the web interface which is used to configure/setup the drive.
mini_httpd for whatever reason, crashes every few days.
He wants a script which will close mini_httpd (kill process perhaps?) and re-open it on VERY BASIC schedule (ie. 3:00AM - kill mini_httpd / 3:15AM -execute mini_httpd)
At this stage he's a linux NOOB tho - well versed with DOS / computers in general, but not the linux syntax/language.
Anyone able to post up a simple script/how to run it would be greatly appreciated!