Automatic plugin updates not working
Automatic plugin updates not working
Automatic plugin updates not working
WordPress action hooks related to scheduled posts not Fired
Best way to schedule daily change in CSS parameter
running wp-cron.php using php not wget
WordPress Cron Job Not working
Ok, well I believe that I have things working correctly. I’d be curious if anyone has any more insights, but I believe what was happening: I was calling my class incorrectly I was referencing a class function in wp_next_scheduled and wp_schedule_event when I should have been referencing a callback/hook. My revised code (which has been … Read more
In my opinion function that works 10min is not a best idea. Can You maybe refactor Your function or simply try to build batch processing? My favorite article about that: https://pippinsplugins.com/batch-processing-for-big-data/
You need to first create the interval for 30 mins. Use filter: add_filter(‘cron_schedules’,’my_cron_schedules’, 999 ); function my_cron_schedules($schedules) { $schedules[‘thirty_min’] = array( ‘interval’ => 1800, // Every 30 mins ‘display’ => __( ‘Every 30 mins’ ), ); return $schedules; } Then you need to execute the scheduled job: wp_schedule_event( time(), ‘thirty_min’, ‘your_event_hook’ ); Then add the … Read more
Why is `wp_unschedule_event` not working
How wp-cron can run in background if PHP is single threaded?