Server Checker System - Need Help

Hello!

Please help me!

I am in the process of making a Minecraft Querying system and I have got the design and the server and info being pulled from the database done. I am running across problems using this code: https://github.com/xPaw/PHP-Minecraft-Query/blob/master/MinecraftQuery.class.php. I want about ever 10 - 15 mins by a cron job that script to run and it will pull all of the information from the database where servers are stored ( it will pull the ip and port) then it will test all of the servers, then the results will update the plugins, players online, etc, etc.

I am a little stuck here and any help would be greatly appreciated. And my project’s site is here: http://mcss-portal.com/beta/.

Thanks,
TJ