well, u should be able todo those things if your'e thinking of running a tracker.
dezza give you some snippets to look for in the cleanup so maybe try that?
not sure if it works strait up cos mine if diffrent from dezza's
i have it like this:
Code:
$deadtime = deadtime();
sql_query("DELETE FROM peers WHERE last_action < $deadtime");
if ($snatchmod == 'yes') sql_query("UPDATE snatched SET seeder='no' WHERE seeder='yes' AND last_action < FROM_UNIXTIME($deadtime)");
$deadtime = $deadtime - $max_dead_torrent_time;
sql_query("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < $deadtime");