Yes, WP Cron won’t run if nobody visits your site. You can also run into the PHP execution time limits
There are ways to mitigate this however:
- Manually ping the cron URLs via a real cron job using curl
- Run cron via WP CLI on a real cron job, letting cron jobs run arbitrarily
- Use a job manager plugin such as cavalcade to manage cron tasks
Related Posts:
- Accessing the database from a plugin outside of action hooks
- Update results, Before deleting the related category [closed]
- Store a default value for a transient on plugin activation
- Execute long and heavy processes
- wpdb prepare insert table doesn’t work
- Building a REST API for your web app exposes primary keys of DB records?
- Set default Database Storage Engine when creating tables with plugins?
- How do I make this Metabox show current DB value?
- select a single val though a table in wordpress
- wp_update_post gives 500 internal error
- code that I can run, or a plug in to show what sql tables something pulls information from
- How to edit the default database of WordPress [closed]
- Create custom table for wordpress custom registration flow
- When to use Exceptions vs Error Objects vs just plain false/null
- WordPress URL Rewrite not working
- How to Join two tables from separate databases within WordPress
- simple wordpress ajax plugin not working when not logged in
- Saving metabox repeatable fields
- how to create and show sessions in word press?
- Import 10,000 Users into WordPress WITH a specific ID for each user
- Unusable menus and “Illegal widget setting ID: nav_menu_item[]” error
- do not show web page section when using advanced custom fields pro
- How to get all existing post types
- Create custom blocks for bootstrap
- How to generate page content from database the right way?
- Query String being Removed Creating a Pagination Issue within a Custom Plugin
- Proper way to edit a post via phpMyAdmin without breaking the compare revisions tool
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- phpMyAdmin displays error when importing database
- How to get the POST TITLE using the POST ID?
- Why is the post meta[] empty when I make a call to the wordpress rest api?
- Delete a WordPress transient from a shortcode on Page/Post update
- Plugin CSS not enqueing
- How to insert a single row to WP database table?
- PHP Fatal error: Uncaught mysqli_sql_exception: Table doesn’t exist in wordpress/wp-includes/wp-db.php
- wp search-replace on database returns PHP fatal error: Array and string offset access syntax with curly braces is no longer supported
- How to call plugin function per site in a multisite?
- How wp-cron can run in background if PHP is single threaded?
- Options API get_option() and update_option() Not Correctly Updating or Returning
- wp_head function not outputting
- How to make own crop image function for WordPress plugin
- Not connecting to database in file with multiple MySQL connections
- Pass argument to event hook
- wp_insert_post: array only. wp_update_post: array|object (?)
- How to create plugin/ page that reads from database
- wpdb Cannot Update column in Database
- Custom Registration username_exists / email_exists
- How can I search all plugins for composer’s vendor/autoload.php?
- Action Hook Inside WordPress Plugin Shortcode
- WPDB – Read and write value from / to database
- How to Generate a list of Most Commented post?
- Submit form to db
- Add a custom WooCommerce settings tab with sections
- PHP using external anonymous function inside class
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- Add Pre-Defined Value to Click Counter in WordPress
- Submiting with problems on one of the options php wprdpress
- Drop down question
- Confuse between forms and tables
- Automatic email message after manual user approval
- Adding column to wpex_users
- Using wpdb to connect to a different database is not working
- custom mailchimp form using HTTP API
- How to override theme’s public static function inside of a trait?
- pass datetime using wp_localize_script to frontend from settings page
- add custom metabox to media library custom widget
- Display attached images of a page or post that are insetred using gallery
- overwrite wordpress gallery with custom gallery shortcode
- Enqueue sripts and styles only if function is called
- Add widget area from visual editor
- Register/enqueue scripts only on certain admin pages
- Looping through custom data in a custom table to display all items in a post
- Insert data from form to database
- not able to access $_POST on backend profile update
- Custom Plugin Develoment, Form Action
- WordPress Query Crashes Browser
- How to Request a User to Register on Landing at a Site, Then Automatically Delete the Users Password on Logout?
- Plugin Modification Change Functionality For Logged User Only
- I changed the password for the database user of my website, updated wp-config.php and wordpress asks to be reinstalled
- I want to use wordpress database in android app using json encode?
- INCOMING: Wall of code for form and $_POST, not updating custom field’s value
- add shortcode heading showing multiple time
- two wordpress sites, two themes, one database, same content
- Check if values exists DB
- MySQL database migration to WordPress
- WP multisite network plugin fails to see classes loaded with spl autoload
- Host does not allow remote connection, so how do I transfer data to my WordPress site?
- MySQL Engine vs. Charset
- Custom query_posts() parameter
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- How to check if a value exists in one of two database tables
- What is this mark for “? function()” [closed]
- using a shortcode in a hyperlink
- Display total count of products in orders of a specific order status
- Woocommerce Convert existing order to the cart
- Redirect posts to post editor page based on query string
- Load style and script for custom post type metabox
- Permissions error when I use my plugin to delete comments in the front-end
- Putting form result in my database
- plugin doesn’t retrieve data from database