WP-cron doesn’t run my actions
-
I’m running self-hosted WordPress instance in docker container (fpm-based).
I have over 50 pending actions, that are not triggered by WP-cron. I can start them manually and then they work fine.
I also had a plugin that wasn’t automatically updated, because WP-cron failed to do so.
I’ve installed WP-Crontrol and it says Unexpected HTTP response code: 403.
I’m not sure what to do. I have visitors so WP-cron should work.
-
Sorry I can’t be of much help here but you’ll need to investigate where that 403 is being served from.
I’ve looked into logs of WP. I have even tried to request
/wp-cron.php
endpoint and it returns 200. I can’t find any mention of403
. Maybe the plugin is wrong about it.What else can I check?
The plugin just reports the HTTP response code that it receives when it tests the cron spawning request.
Have you tried deactivating your other plugins one by one?
Sorry for super late reply. I’ve tried deactivating all plugins and it seems that the problem persists. I’m kinda clueless on what I can do with it.
Here’s a WooCommerce status:
### WordPress Environment ### WordPress address (URL): https://melonowe.pl Site address (URL): https://melonowe.pl WC Version: 8.6.1 REST API Version: ? 8.6.1 WC Blocks Version: ? 11.8.0-dev Action Scheduler Version: ? 3.7.1 Log Directory Writable: ? WP Version: 6.4.3 WP Multisite: – WP Memory Limit: 500 MB WP Debug Mode: – WP Cron: ? Language: pl_PL External object cache: ? ### Server Environment ### Server Info: Caddy/v2.6.4 PHP Version: 8.0.29 PHP Post Max Size: 500 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.74.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.42 Max Upload Size: 500 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.5.2 WC Database Prefix: wp_ Total Database Size: 24.34MB Database Data Size: 13.71MB Database Index Size: 10.63MB wp_woocommerce_sessions: Data: 2.52MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.16MB + Index: 0.38MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.13MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.75MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.23MB + Index: 0.31MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jetpack_sync_queue: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_options: Data: 3.28MB + Index: 1.84MB + Engine InnoDB wp_postmeta: Data: 2.52MB + Index: 4.03MB + Engine InnoDB wp_posts: Data: 1.27MB + Index: 0.16MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_p24_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_p24_order_map: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_p24_subscription: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 73 boxzilla-box: 1 custom_css: 1 customize_changeset: 2 jb_store_css: 8 mc4wp-form: 1 nav_menu_item: 4 page: 9 post: 22 product: 15 revision: 26 shop_coupon: 18 shop_order: 549 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### Autocomplete WooCommerce Orders: by QuadLayers – 3.2.0 Backup Migration: by Inisev – 1.4.3 Basic User Avatars: by Stranger Studios – 1.0.8 Boxzilla: by ibericode – 3.2.27 Furgonetka.pl: by Furgonetka.pl – 1.3.2 Google Listings and Ads: by WooCommerce – 2.6.0 Site Kit by Google: by Google – 1.121.0 Jetpack Boost: by Automattic - Jetpack Site Speed team – 3.0.2 Jetpack: by Automattic – 13.1.3 MC4WP: Mailchimp for WordPress: by ibericode – 4.9.11 Autopay: by iLabs LTD – 4.2.8 WooCommerce Przelewy24 Payment Gateway: by Przelewy24 Sp. z o.o. – 1.0.13 Redis Object Cache: by Till Krüss – 2.5.0 WooPayments: by Automattic – 7.2.0 WooCommerce Shipping & Tax: by WooCommerce – 2.5.1 WooCommerce: by Automattic – 8.6.1 WP Crontrol: by John Blackbourn & crontributors – 1.16.1 WP Post Hide: by Xfinity Soft – 1.0.8 Zoho Mail: by Zoho Mail – 1.5.7 ### Inactive Plugins (1) ### LiteSpeed Cache: by LiteSpeed Technologies – 6.1 ### Dropin Plugins (1) ### object-cache.php: Redis Object Cache Drop-In ### Settings ### API Enabled: – Force SSL: – Currency: PLN (z?) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to Woo.com: ? Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #61 - /sklep/ Cart: #62 - /koszyk/ Checkout: #63 - /zamowienie/ My account: #64 - /moje-konto/ Terms and conditions: #90 - /regulamin/ ### Theme ### Name: Travel Nomad Version: 1.0.3 Author URL: https://blossomthemes.com/ Child Theme: ? Parent Theme Name: Blossom Travel Parent Theme Version: 1.1.8 – 1.2.2 is available Parent Theme Author URL: https://blossomthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: – ### WooPayments ### Version: 7.2.0 Connected to WPCOM: Yes WPCOM Blog ID: 217247323 Account ID: acct_1MqjntCKRa5CkdHZ Payment Gateway: ? Needs setup Test Mode: Disabled Enabled APMs: card WooPay: Not eligible Apple Pay / Google Pay: Enabled (product,cart,checkout) Fraud Protection Level: basic Multi-currency: Enabled Public Key Encryption: Disabled Auth and Capture: Enabled Documents: Enabled Logging: Disabled ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-08-20 07:44:59 +02:00 Options: ? Notes: 121 Onboarding: completed ### Action Scheduler ### Canceled: 30 Oldest: -0001-11-30 01:24:00 +0124 Newest: -0001-11-30 01:24:00 +0124 Complete: 74 Oldest: 2023-10-22 22:16:54 +0200 Newest: 2024-02-27 12:22:39 +0100 Pending: 7 Oldest: 2023-12-19 21:20:03 +0100 Newest: 2024-02-28 12:24:40 +0100 ### Status report information ### Generated at: 2024-02-27 12:32:54 +01:00
- This reply was modified 8 months, 4 weeks ago by mdczaplicki.
I’ve fixed it. Here’s the solution:
Glad you got it fixed!
- The topic ‘WP-cron doesn’t run my actions’ is closed to new replies.