diff --git a/src/wp-cron.php b/src/wp-cron.php
index d487770f71..ca478e4c46 100644
--- a/src/wp-cron.php
+++ b/src/wp-cron.php
@@ -76,6 +76,8 @@ if ( empty( $crons ) ) {
 	die();
 }
 
+$gmt_time = microtime( true );
+
 // The cron lock: a unix timestamp from when the cron was spawned.
 $doing_cron_transient = get_transient( 'doing_cron' );