WordPress at a glance
function is not described

check_up_on_preloading() WPSCache 1.0

No Hooks.

Return

null. Nothing.

Usage

check_up_on_preloading();

Code of check_up_on_preloading() WPSCache 1.7.3

<?php
function check_up_on_preloading() {
	$value = get_option( 'preload_cache_counter' );
	if ( is_array( $value ) && $value[ 'c' ] > 0 && ( time() - $value[ 't' ] ) > 3600 && false == wp_next_scheduled( 'wp_cache_preload_hook' ) ) {
		if ( is_admin() ) {
			if ( get_option( 'wpsc_preload_restart_email' ) < ( time() - 86400 ) ) {
				wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Preload may have stalled.', 'wp-super-cache' ), get_bloginfo( 'url' ) ), sprintf( __( "Preload has been restarted.\n%s", 'wp-super-cache' ), admin_url( "options-general.php?page=wpsupercache" ) ) );
				update_option( 'wpsc_preload_restart_email', time() );
			}
			add_action( 'admin_notices', 'wpsc_preload_restart_notice' );
		}
		wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
	}
}