add maintenance php script for DB cleanup (old logs)