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?
- How to get current timestamp in string format in Java? “yyyy.MM.dd.HH.mm.ss”
- Is there a “git touch” so I can push the same file with a new timestamp?
- NOW() function in PHP
- Get Unix timestamp with C++
- timestamp of time(0) at multiple places in a C++ program
- How to get current timestamp in milliseconds since 1970 just the way Java gets
- Convert datetime to Unix timestamp and convert it back in python
- How to convert SQL Server’s timestamp column to datetime format
- Create timestamp variable in bash script
- Should I use the datetime or timestamp data type in MySQL?
- How do I convert dmesg timestamp to custom date format?
- Ping with timestamp on Windows CLI
- How to get correct timestamp in C#
- Convert timestamp to date in Oracle SQL
- Sqlite: CURRENT_TIMESTAMP is in GMT, not the timezone of the machine
- Is there a quick way to view the wp-cron schedule
- How to test wp_cron?
- Running WP Cron on multisite the right way
- How to run a function every 5 minutes?
- WP Cron Doesn’t Execute When Time Elapses
- Converting timestamps to local time with date_l18n()
- Why is ?doing_wp_cron being appended to my URLs
- Should I disable WP_CRON and instead trigger wp-cron.php from server every few mins?
- Do WordPress cron jobs slow down page loading?
- PHP Warning on fresh install (Connection timed out)
- Is there a known vulnerability for wp-cron.php?
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- WordPress cron isn’t scheduled on amazon web services
- Using wp_schedule_single_event with arguments to send email
- Running WordPress on the Command Line – Turn off Delayed Output?
- Schedule WordPress Auto-Updates to only run during business hours
- wp_schedule_event is executing but the function related to the hook is not running
- How is WP Cron Locking implemented?
- How to use wp_schedule_event in a class?
- Which action for triggering cron “wp”or “init”?
- wp_schedule_event won’t accept args
- add_action to wp cron?
- Triggering cron by calling wp-cron.php on the command line rather than with wget?
- Cron jobs in a class
- Do WordPress’ cron’s clean up expired transients?
- Better handling of WP-CRON server load abuse
- wp_delete_auto_drafts() deletes links in menus
- Run WP Cron Weekly (but on a certain day)
- wp-cron.php is triggered, but scheduled post is not published
- Get frequency of scheduled event
- wp_schedule_event in a class
- wp_schedule_event() on specific time, daily
- WP Cron – Run Cron after evey 15 minutes at a specific time for the next three hours
- Need to execute a cron job
- How to run multiple Async HTTP requests in WordPress?
- wp_next_scheduled returning a past timestamp
- How to make sure a wp-cron job runs
- run a cron task without obstructing page load?
- How do I email a new page password to somebody every month?
- crontab wp-cron.php on multisite path-based network: one for each path? Or just one for the root?
- How to make debug.log timestamps local time?
- Recurring scheduled task help
- WP cron: when to schedule a 1-time event
- Change post status based on meta value
- Using wp_cron with custom time interval and the register activation hook
- Missed scheduled WordPress
- WordPress scheduled task is called but not executed
- Why time functions show invalid time zone when using ‘c’ time format?
- What happens when wp_cron is deactivated in WordPress?
- Problem creating cron job wordpress
- Running wp-cron from CLI
- Converting Unix timestamp to wordpress date
- How to make wp cron job not fire immediately?
- How Do I Make WordPress Run an Event Every Day?
- How can I change the frequency of a scheduled event?
- Scheduling posts to update once per day with wp_cron
- Date, Time, and Timezones
- get_posts inside cron
- Do wp-cron scheduled tasks run asynchronously?
- Some rogue WordPress plugin killing my server – how do I isolate and kill it?
- Hourly WP schedule, do I need at least 1 visitor hourly?
- Initialize WordPress environment to use in a real cron script
- How to correct schedule my event weekly with wp_schedule_event()
- WP Cron and wp_insert_post
- WP Cron doesn’t save or in post body
- Why?: hundreds of empty files named wp-cron.php?doing_wp_cron.
- WP Schedule Event – Every Day When First Visitor Comes
- Can’t access wp_filesystem in cron function
- Long running action from plugin
- Add 20yrs to post date, and then query
- WP CRON runs only the first time