Wp_Schedule_Event every day at specific time
WP Cron runs, when somebody visits your website. Thus if nobody visits, the cron never runs. Now there are 2 solutions: Disable WP Cron, use a real cron job and customize it. https://support.hostgator.com/articles/specialized-help/technical/wordpress/how-to-replace-wordpress-cron-with-a-real-cron-job Use a custom interval in wp_schedule_event(): function myprefix_custom_cron_schedule( $schedules ) { $schedules[‘every_six_hours’] = array( ‘interval’ => 21600, // Every 6 hours ‘display’ … Read more