Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Report Test for Hourly

// Scheduled Action Hook
function wrp_scheduled_report_test( ) {
}

// Schedule Cron Job Event
function weekly_report_test() {
	if ( ! wp_next_scheduled( 'wrp_scheduled_report_test' ) ) {
		wp_schedule_event( time(), 'hourly', 'wrp_scheduled_report_test' );
	}
}
add_action( 'wp', 'weekly_report_test' );