View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-10-2015 , 23:08   Re: How to detect if server crashed?
Reply With Quote #13

Quote:
Originally Posted by aron9forever View Post
even bugsy's idea won't work because it won't give you the exact time of the crash and hosting providers usually fail to restart the server if the process is kill, then you won't get the accurate timestamp

What you want is very possible and easy to accomplish with PHP and a cron job if you have some knowledge in that area
I find it odd that GSP's would not re-start a crashed server. My method would work fine as long as the server gets restarted. If there is a restart service, you can detect a crash time within a few seconds of the crash.
__________________
Bugsy is offline