First can you please confirm that you don’t have any caching plugins enabled? Caching plugins can interfere with cron jobs because your visitors are not served a live page but a cached version of your page.
If you have a caching plugin enabled, you can choose one of your pages, add an exclussion to your caching plugin’s settings for that page so that it is never cached.
Then you’ll have to manually create a cron job (using cpanel if you’re on a shared hosting environment or from the terminal if it’s a VPS/dedicated server) that will visit that page every few minutes.
I hope that helps!
Related Posts:
- Update a costume wp_usermeta key back to 0 every 24hours (time can be specified as needed)
- wp cron job fires at every second or so, if callback is wrapped with DOING_CRON check it never fires at all
- WordPress cronjob get scheduled but function does not run
- Hourly events don’t get triggered
- How to test wp_cron?
- Schedule WordPress Auto-Updates to only run during business hours
- trigger save_post event programmatically
- How Do I Make WordPress Run an Event Every Day?
- Multiple wp_schedule_event cron jobs in plugin cause multi-execution
- Why is wp-cron only executing on page visit?
- Event-Driven Pattern vs MVC?
- Duplicate Cron Jobs Using wp_next_scheduled / wp_schedule_event
- WP Cron not executing after timespan
- Change status of page after an event (Looking for best practice advice)
- profile_update hook does not fire from front-end
- What is the use of wp_schedule_event hook?
- Which approach for managing automatic updates would be more robust?
- How to get WordPress’ hooks/actions run sequence?
- How do I implement the WordPress Iris picker into my plugin on the front-end?
- What is “all” in isset($wp_filter[‘all’])
- Please explain how these hooks work
- Hook ‘wp_enqueue_scripts’ priority has no effect
- Hook *after* user password change?
- The ‘user_has_cap’ hook seems to take two page loads to trigger
- RSS Feed Custom Title?
- Detect type of post status transition
- How and why can a hook call itself without causing recursion?
- Is This A Correct Example Usage Of current_filter()?
- admin_notices not working in post editor
- How to detect when a user changes their name?
- Override wp_delete_post and move to trash instead for custom post type
- How do I grab specific posts (by post id) and display the title, featured image, and excerpt?
- Empty Super Cache programmatically (with ACF action) [closed]
- How To Make Sure That My Action Hook Executes Last
- Does update_comment_meta hook exists?
- how to determine how many and what kind of arguments are passed to hooks
- How to hook in after user’s registration email has been sent?
- Append a code when at the current page in wp_list_pages()
- Above-the-fold inline styles from SASS generated stylesheet
- Redirect in form handler causing form to be submitted twice
- Conditional hook [closed]
- Add_menu_page() error message -> “You do not have sufficient permissions to access this page”
- Where is the right place to register/enqueue scripts & styles
- Is it possible to use `wp_schedule_event` with real cronjobs?
- Cancel/Stop a currently ongoing scheduled cron event?
- I don’t understand how add_action and do_action work in tandem. The former executes the code already…what is do_action for?
- Insert HTML in post, below nav bar but above content?
- Convert Gravity Form Entry Date on Export
- Hook Adding content after title
- Fatal error: Call to a member function get_queried_object_id()
- Issue with wp_schedule_event()
- Are uploads directories created on a schedule?
- “admin_enqueue_scripts” hook or $_GET[‘page’]?
- How to add content to suscriptor dashboard frontend?
- Scheduling WP cron jobs
- Add PHP code to header section from plugin
- How to change a WordPress term’s slug before saving
- dynamic add_action according to child pages (for homepage control)
- Remove action in a parent theme from the child theme
- Remove action within a class in a parent theme’s includes folder from the child theme
- Action hook save_post for newly created posts – $post object data is all empty
- add_filter to the_content from plugin function
- What hook should I use that will fire whenever I open a post for editing in the WP back-end?
- Can not using get_header() cause trouble (later on)?
- WordPress cron is running with previously set time intervals and not the updated one
- Is there a author_update action?
- How to set Media Box form elements default value?
- How to get product information using hooks?
- Print additional fields in wp_new_user_notification_email_admin
- Strange cron job behavior and how to solve it?
- WordPress cron not getting executed when called by external service (but ok from browser)
- remove_action not working for a function
- Is there no concise way, a library maybe, to help with unhooking class functions and so on?
- Server cron job not working
- Debug a WP install: how to find which functions write post updates during a process (a woocommerce checkout in my case)
- What hook should I use to add post meta data with on update?
- Ordering of posts, 2020 Year showing as next event when should be last
- wp-cron event doesn’t run when custom login API is enabled
- Problem with call_user_func_array front end
- Run external file cron using WordPress Scheduler
- How to I prevent WordPress from switching external HTTP links to HTTPS?
- Stylesheet is getting removed/deregistered automatically
- How to override get_avatar() function?
- Better way to run heavy scripts using WordPress database
- Change user role if it’s orders count more than
- Using actions, hooks and filters in a non-WordPress page
- Hook into create_category
- Trouble adding data to options table
- How to hook into publish_posttype?
- $GLOBALS & global doesn’t work [closed]
- Hooks not working on live server
- Cronjob function not executed – negative seconds
- WP CRON Fails At 13:00 Every Day
- Update last created post in custom post types with wp_cron()?
- Error code 499 on specific cron job
- Should I disable WP_CRON and trigger wp-cron.php from the server?
- “Could not open input file: wp-cron.php?import_key=” in shell?
- Cron Job not working
- WP Cron is not running
- $wpdb->update not working as expected