public function is_cron_overdue( $cron, $timestamp ) {
		$overdue = ( ( time() - $timestamp ) / HOUR_IN_SECONDS ) > 24;
		if ( $overdue ) {
			$error_msg = esc_html__( 'There may be a problem with WP-Cron. A GitHub Updater WP-Cron event is overdue.', 'github-updater' );
			$error     = new \WP_Error( 'github_updater_cron_error', $error_msg );
			Singleton::get_instance( 'Messages', $this )->create_error_message( $error );
		}
	}
public function is_cron_overdue( $cron, $timestamp ) {
		$overdue = ( ( time() - $timestamp ) / HOUR_IN_SECONDS ) > 24;
		if ( $overdue ) {
			$error_msg = esc_html__( 'There may be a problem with WP-Cron. A GitHub Updater WP-Cron event is overdue.', 'github-updater' );
			$error     = new \WP_Error( 'github_updater_cron_error', $error_msg );
			Singleton::get_instance( 'Messages', $this )->create_error_message( $error );
		}
	}
public function is_cron_overdue ( $ cron , $ timestamp ) { $ overdue = ( ( time ( ) - $ timestamp ) / HOUR_IN_SECONDS ) > 24 ; if ( $ overdue ) { $ error_msg = esc_html__ ( 'There may be a problem with WP-Cron. A GitHub Updater WP-Cron event is overdue.' , 'github-updater' ) ; $ error = new \ WP_Error ( 'github_updater_cron_error' , $ error_msg ) ; Singleton :: get_instance ( 'Messages' , $ this ) -> create_error_message ( $ error ) ; } }
Check to see if wp-cron event is overdue by 24 hours and report error message.

@param array $cron
@param int   $timestamp
Check to see if wp - cron event is overdue by 24 hours and report error message .