Title: Pending items never run
Last modified: December 18, 2020

---

# Pending items never run

 *  Resolved [Steve Jones](https://wordpress.org/support/users/stevejonesdev/)
 * (@stevejonesdev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/)
 * I’m having issues on a staging server (flywheel) where the Pending schedules 
   never run. What’s the best way to troubleshoot this?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [crstauf](https://wordpress.org/support/users/crstauf/)
 * (@crstauf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809056)
 * A couple things to check:
    1. Is the staging site protected with HTTP authentication?
    2. Is Alternate WP-Cron setup, or standard WP-Cron?
    3. Are there any completed items?
 *  Thread Starter [Steve Jones](https://wordpress.org/support/users/stevejonesdev/)
 * (@stevejonesdev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809070)
 * 1. Yes, the site is protected.
    2. Standard Wp-Cron 3. Completed items are ones
   I’ve manually processed.
 *  [crstauf](https://wordpress.org/support/users/crstauf/)
 * (@crstauf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809079)
 * Okay, that’s likely the problem: standard WP-Cron typically doesn’t work if there’s
   HTTP authentication in place. There are a few plugins that create a GUI for you
   to add the username and password, or you can hard-code the header on the cron
   request.
 * This plugin provides a GUI, and browsing the code will show you how to hard-code
   the header for the cron request:
 * [https://wordpress.org/plugins/wp-cron-http-auth/](https://wordpress.org/plugins/wp-cron-http-auth/)
 *  [crstauf](https://wordpress.org/support/users/crstauf/)
 * (@crstauf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809084)
 * Also keep in mind that standard WP-Cron is triggered by traffic to the site, 
   so pending actions will only run upon page load.
 *  Thread Starter [Steve Jones](https://wordpress.org/support/users/stevejonesdev/)
 * (@stevejonesdev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809253)
 * The HTTP authentication was the issue. Thanks for your help!
 *  [crstauf](https://wordpress.org/support/users/crstauf/)
 * (@crstauf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13809284)
 * You’re welcome! 🙇‍♂️
 *  Plugin Support [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [5 years, 5 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13813974)
 * Thanks for assisting [@stevejonesdev](https://wordpress.org/support/users/stevejonesdev/)
   here [@crstauf](https://wordpress.org/support/users/crstauf/), it’s appreciated!
 * I will mark this thread as Resolved for now.
 * Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Pending items never run’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/action-scheduler.svg)
 * [Action Scheduler](https://wordpress.org/plugins/action-scheduler/)
 * [Support Threads](https://wordpress.org/support/plugin/action-scheduler/)
 * [Active Topics](https://wordpress.org/support/plugin/action-scheduler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/action-scheduler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/action-scheduler/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/pending-items-never-run/#post-13813974)
 * Status: resolved