Index: wp-includes/cron.php
===================================================================
--- wp-includes/cron.php	(revision 3635)
+++ wp-includes/cron.php	(working copy)
@@ -49,7 +49,7 @@
 }
 
 function wp_clear_scheduled_hook($hook) {
-	while($timestamp = next_scheduled($hook))
+	while($timestamp = wp_next_scheduled($hook))
 		wp_unschedule_event($timestamp, $hook);
 }
 
@@ -72,8 +72,10 @@
 	
 	$argyle = @ fsockopen($parts['host'], $_SERVER['SERVER_PORT'], $errno, $errstr, 0.01);
 	if ( $argyle )
-		fputs($argyle, "GET {$parts['path']}?time=" . time() . '&check='
-		. md5(DB_PASS . '187425') . " HTTP/1.0\r\nHost: {$_SERVER['HTTP_HOST']}\r\n\r\n");
+		fputs($argyle,
+			  "GET {$parts['path']}?check=" . md5(DB_PASS . '187425') . " HTTP/1.0\r\n"
+			. "Host: {$_SERVER['HTTP_HOST']}\r\n\r\n"
+		);
 }
 
 function wp_cron() {
@@ -100,4 +102,4 @@
 	);
 	return array_merge(apply_filters('cron_schedules', array()), $schedules);
 }
-?>
\ No newline at end of file
+?>
Index: wp-cron.php
===================================================================
--- wp-cron.php	(revision 3635)
+++ wp-cron.php	(working copy)
@@ -3,6 +3,9 @@
 define('DOING_CRON', TRUE);
 require_once('wp-config.php');
 
+if ( $_GET['check'] != md5(DB_PASS . '187425') )
+	exit;
+
 $crons = get_option('cron');
 if (!is_array($crons) || array_shift(array_keys($crons)) > time())
 	return;
@@ -12,7 +15,6 @@
 		do_action($hook, $args['args']);
 		$schedule = $args['schedule'];
 		if($schedule != false) {
-			fwrite($fp, var_export($schedules[$schedule]));
 			$args = array_merge( array($timestamp, $schedule, $hook), $args['args']);
 			call_user_func_array('wp_reschedule_event', $args);
 		}

