You probably don’t have enough visitors on your site. Although it looks otherwise WordPress doesn’t actually schedule the events. It writes the time when it should happen to the database, and only when somebody visits the site WP gets fired up, checks the database and fires the event.
So, if nobody is around at the time you want it, your event won’t happen.
What you need to do in order to make sure that an event fires exactly at the time you want, is circumventing WP’s own scheduling system and schedule it directly with the operating system. If you google for “wordpress force cron job” you will find plenty of tutorials. I like this one.
This, of course, won’t work if you have no access to a cpanel or other hosting service that allows you to set up a cron job (as you say). In that case google for “free cron job”. That will give you a server that will act as the hourly visitor that fires the event.
Related Posts:
- WP Cron Doesn’t Execute When Time Elapses
- Update a costume wp_usermeta key back to 0 every 24hours (time can be specified as needed)
- trigger save_post event programmatically
- Event-Driven Pattern vs MVC?
- Duplicate Cron Jobs Using wp_next_scheduled / wp_schedule_event
- 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
- 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
- How to know what functions are hooked to an action/filter?
- 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?
- Does anyone have a visual breakdown of core hooks and when they are fired?
- The ‘user_has_cap’ hook seems to take two page loads to trigger
- How and where can we request new WordPress hooks to be added?
- RSS Feed Custom Title?
- Detect type of post status transition
- hook for lostpassword form
- How and why can a hook call itself without causing recursion?
- Is This A Correct Example Usage Of current_filter()?
- Seeking Hook Whenever a Custom Taxonomy Term Has Been Added
- How can i trigger an action manually?
- Can I trigger the publish_post hook by using wp_insert_post?
- WooCommerce New customer email Hook? [closed]
- admin_notices not working in post editor
- How to detect when a user changes their name?
- How to check what kind of saving it is?
- 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]
- Hook all http requests
- Setting Cookie with init hook causes ‘header already sent’
- Is there an “Add Page” hook?
- 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
- Can not set custom title on some WordPress setups
- BuddyPress User Profile Menu
- How to hook in after user’s registration email has been sent?
- Checking post format during xmlrpc_publish_post
- Hook for when a page template is changed
- 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
- Checking login status before wp_get_current_user is initialised
- Add media library tab
- 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
- 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()
- “admin_enqueue_scripts” hook or $_GET[‘page’]?
- How to add content to suscriptor dashboard frontend?
- 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)?
- 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
- remove_action not working for a function
- Is there no concise way, a library maybe, to help with unhooking class functions and so on?
- 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?
- Problem with call_user_func_array front end
- How to I prevent WordPress from switching external HTTP links to HTTPS?
- Stylesheet is getting removed/deregistered automatically
- How to override get_avatar() function?
- Change user role if it’s orders count more than
- Hook triggered twice in a Woocommerce single product page
- set_post_format called after wp_update_post when using bulk edit?
- add hook restricted only to either plugins or themes?
- How to hook watchdog script for existence of a WP page?
- addaction hook cause redirection problem
- Getting all post/page IDs related to a soon-to-be-deleted tag/cat
- Hooking get_pages()
- Fire a hook programmatically
- Transform .wp-video to the native video player of the browser
- How do I override the user’s input when updating a custom post type’s permalink?
- How to add a new link to the default register form’s footer links?
- Can a woocommerce hook alter the UI of a website?
- How to use the password_reset hook to validate new password and display error
- Use wordpress search hooks to search a second database
- woocommerce_add_to_cart_validation max quantity depending on user geoip [closed]
- theme.json is altering Group block HTML
- Not able to set userId and email at wp_set_current_user in Worpdress