Katana*GFR*
19-02-2008, 15:32
Could anyone point me in the right direction to get a Cron to check the TS server if it is actually running?
Lately the server is unaccessable sometimes ( no set period ) but the pid is still there...
Forgot to check if the service is still running, will do that next time..
Also i would like to have a script in init.d that will reboot the server on startup and when TS is not accessible.. ( if thats possible at all.. )
Im not a big guru on Linux ( VPS uses CentOS 5.0 ), but i can learn and read up on actions that needs to be taken.
If i need to supply more info, let me know.
Lately the server is unaccessable sometimes ( no set period ) but the pid is still there...
Forgot to check if the service is still running, will do that next time..
Also i would like to have a script in init.d that will reboot the server on startup and when TS is not accessible.. ( if thats possible at all.. )
Im not a big guru on Linux ( VPS uses CentOS 5.0 ), but i can learn and read up on actions that needs to be taken.
If i need to supply more info, let me know.