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' );