Yes, the event will trigger when the wp-cron process gets run. If something is preventing wp-cron from running, then it won’t trigger at all. If you’re having it not work, then something about your server configuration is preventing it from working.
For these cases, you can generally work around them by adding this define to your wp-config file:
define('ALTERNATE_WP_CRON', true);
Related Posts:
- Change HTML Produced by wp_list_comments()
- How can i put “posted x minutes ago on my posts?
- When does next Cron Job run (time from now)?
- Modify human_time_diff() to shorten “days” to “d” and “hours” to “h” etc
- WP Cron job every 1st and 15th of the month
- Swatch Internet Time for article timestamps
- Integrating Human Time Difference and Traditional Timestamps?
- Why am I seeing ‘true’ next to these timestamps?
- Auto update date time 1 times per day?
- What function changes a post’s timestamp?
- the_modified_time showing wrong date
- Deleting guests profile users after 1.5 hours
- current_time(‘timestamp’) is wrong
- How to change post date only 1 time a day?
- Is there a “git touch” so I can push the same file with a new timestamp?
- Should I use the datetime or timestamp data type in MySQL?
- Convert timestamp to date in Oracle SQL
- Why is ?doing_wp_cron being appended to my URLs
- WordPress cron isn’t scheduled on amazon web services
- Schedule WordPress Auto-Updates to only run during business hours
- How to use wp_schedule_event in a class?
- wp_schedule_event() on specific time, daily
- How to make debug.log timestamps local time?
- Using wp_cron with custom time interval and the register activation hook
- Initialize WordPress environment to use in a real cron script
- WP CRON runs only the first time
- WP-Cron tasks scheduled but not running
- Why cron doesn’t work to me?
- Wp cron event is set but the function isn’t getting fired
- Is doing_wp_cron a necessary query string when scheduling cron.php as a cron job?
- Run a php file daily at specific time
- WordPress Caching – Transients API or “update_user_meta ” Cronjob?
- Why is wp-cron only executing on page visit?
- Relative time – how to calculate difference beween post publish date and current time
- Send email daily from WordPress site
- wordpress convert timestamp to date not correctly
- How to schedule and publish a post after it’s ready?
- Does using WP-cron make the site slower for the user?
- WP Cron jobs loops infinitely
- Update all comments time to random dates?
- Scheduling a cron job from a function that is ran outside functions.php?
- Create cron job for update translations automatically
- How to make a implement queue for scheduling tasks in WordPress?
- Why is `wp_unschedule_event` not working
- Cron Job Keep Running in spite of being disabled
- How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?
- Sending email to all users
- How can i display time minus 6 hours
- WP Cron being triggered but not working as expected
- How to use wp cron job to run a function
- How to set intervals in cron jobs?
- When running WordPress Cron manually, it shows WP-Cron spawning is disabled. What is WP-Cron spawning?
- WordPress function, Run using Crontab
- Cron job to run just once per day using external cron service
- How to know if a script started by wp_cron is still active?
- Create wp_cront events dynamically upon user submission
- WordPress cron creation during plugin installation results with initial execution
- How to get User Time Zone in WordPress?
- Should I have a single cron job that loops the users, or one for each user?
- Auto Expire/Delete Custom Post Type Posts after specified time
- How to periodically roll back WordPress to a fixed point in time?
- Best approach for a custom database filling in WP custom post types
- Send Weekly Email if Users have not complete their profiles
- Cron task firing but function not working
- my wp schedule event is not working
- Display a random tag but using cron to control frequency of change
- How to get movies by date
- What causes wp_schedule_single_event to fire off?
- WordPress cron job running more than once
- WP Cron scheduling doesn’t work reliably on hosted server
- Cron task with scheduled timestamp in the past
- Change pubDate in rss feed in another format
- Flush rewrite rules with scheduled event (cron)
- Multiple cron jobs vs daily cron job doing multiple things? Which one yields better performance and scalability?
- Unknown requests on my WP Site
- Update post status from “publish” to “trash” prior to year 2018
- Scheduled post delete – can’t pass the cron arguments
- WordPress CRON job working when reloading the page
- Cron not sending wp-mail()
- WP_CRON issue with UTC and local time
- Plugin with functions inside a class & how to trigger WP CRON
- When redirecting all URLs to homepage, what exceptions do I need to make?
- datetime picker, timestamps and meta queries
- WordPress crob job performance
- WordPress: Cron locking and Queue
- Wrote a WP Cron Plugin and it triggers a fatal error upon activation
- Huge cron option_value into wp_options table
- Automatically add custom fields (post_meta) to all published posts, hourly, via wp_cron?
- Convert all dates in field to Unix time, except those already in Unix time
- Break a WordPress function to run in patches and re-continue
- Regenerating array key for wp_schedule_event args
- WPMU schedule doesn’t execute actions
- How do I output user_registered time in my correct timezone?
- wp-cron not working
- Show monthly or daily archives
- How to avoid timeout waiting for output from CGI script?
- understanding wp_next_scheduled
- HELP: Code To Check Status And Write Debug Entry
- Background Tasks in a WP Cronjob?
- WP_Query filter Posts by timestamp event (range start and end) and by month (next 12 month)