MegaGlest/source/masterserver/cleanUpServerList.php

15 lines
317 B
PHP

<?php
// This script can be invoked directly by a cron job on a regular basis:
// /path/to/php -f /path/to/script.php
define( 'INCLUSION_PERMITTED', true );
require_once( 'config.php' );
require_once( 'functions.php' );
define( 'DB_LINK', db_connect() );
cleanupServerList();
db_disconnect( DB_LINK );
?>