Title: WP Cron HTTP Auth
Author: Jeff Starr
Published: <strong>6 Giugno 2018</strong>
Last modified: 19 Aprile 2026

---

Ricerca i plugin

![](https://ps.w.org/wp-cron-http-auth/assets/icon-256x256.png?rev=1927704)

# WP Cron HTTP Auth

 Di [Jeff Starr](https://profiles.wordpress.org/specialk/)

[Scarica](https://downloads.wordpress.org/plugin/wp-cron-http-auth.3.5.zip)

 * [Dettagli](https://it.wordpress.org/plugins/wp-cron-http-auth/#description)
 * [Recensioni](https://it.wordpress.org/plugins/wp-cron-http-auth/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/wp-cron-http-auth/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/wp-cron-http-auth/#developers)

 [Supporto](https://wordpress.org/support/plugin/wp-cron-http-auth/)

## Descrizione

This plugin enables WP Cron on sites using HTTP Authentication.

How to use: Visit the plugin settings, enter your HTTP Auth credentials, save changes,
done.

Everything happens silently and automatically in the background.

> 👉 Supports defined constants via wp-config.php
>  👉 Super lightweight, fast, and
> effective 👉 Plugin uses only 30KB of code

**Privacy**

Questo plugin non raccoglie o conserva alcun dato dell’utente. Non imposta alcun
cookie e non si collega a nessun servizio di terze parti. Per questo motivo, questo
plugin non influisce sulla privacy dell’utente in nessun modo.

WP Cron HTTP Auth is developed and maintained by [Jeff Starr](https://x.com/perishable),
15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/).

**Supporta lo sviluppo**

Sviluppo e mantengo con dedizione questo plugin gratuito per la comunità di WordPress.
Puoi dare il tuo contributo [facendo una donazione](https://monzillamedia.com/donate.html)
o acquistando uno dei miei libri:

 * [The Tao of WordPress](https://wp-tao.com/)
 * [Digging into WordPress](https://digwp.com/)
 * [.htaccess made easy](https://htaccessbook.com/)
 * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
 * [Wizard’s SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/)

E/o acquista uno dei miei plugin premium per WordPress:

 * [BBQ Pro](https://plugin-planet.com/bbq-pro/) – Firewall super veloce per WordPress
 * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) – Blocca automaticamente
   bot dannosi
 * [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) – Tieni d’occhio il
   traffico e allontana i cattivi (blocca gli accessi sospetti)
 * [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/)–
   Connetti WordPress a Google Analytics
 * [Head Meta Pro](https://plugin-planet.com/head-meta-pro/) – Meta Tag per WordPress
   definitivo
 * [REST Pro Tools](https://plugin-planet.com/rest-pro-tools/) – Awesome tools for
   managing the WP REST API
 * [Simple Ajax Chat Pro](https://plugin-planet.com/simple-ajax-chat-pro/) – Chat
   room illimitate
 * [USP Pro](https://plugin-planet.com/usp-pro/) – Form front-end illimitati

Links, tweets and likes also appreciated. Thank you! 🙂

## Screenshot

[⌊Plugin settings⌉⌊Plugin settings⌉[

Plugin settings

## Installazione

**Installing the Plugin**

 1. Carica il plugin nel tuo blog e attivalo
 2. Visit the plugin settings to configure options

[Ulteriori informazioni sull’installazione dei plugin di WordPress](https://wordpress.org/documentation/article/manage-plugins/#installing-plugins-1)

**Using Constants**

Thanks to feedback from [@nowakpiotrek](https://wordpress.org/support/topic/feature-read-configuration-from-config-variables/),
this plugin supports username and password constants defined in WordPress `wp-config.
php`. So instead of entering the username and password via the plugin settings, 
you can add the following definitions to the `wp-config.php` file, just before the
line that says, “That’s all, stop editing!” There you can add the following code:

    ```
    define('WP_CRON_HTTP_AUTH_USERNAME', 'your-http-auth-username');
    define('WP_CRON_HTTP_AUTH_PASSWORD', 'your-http-auth-password');
    ```

Change `your-http-auth-username` and `your-http-auth-password` to match your username
and password, respectively. After saving changes, you can verify the new constants
are working by visiting the plugin settings page. If the constants are working, 
the username and password options will be greyed out, with a message that says, “
Username/Password set in wp-config.php”.

**Disinstallazione**

Il plugin lascia tutto in ordine. Tutte le impostazioni del plugin saranno rimosse
dal database di WordPress quando il plugin viene eliminato tramite la schermata 
dei plugin.

**Restore Default Options**

To restore default options, uninstall the plugin via the WP Plugins screen, and 
then reinstall.

**Like the plugin?**

If you like WP Cron HTTP Auth, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?rate=5#new-post).
It helps to keep development and support going strong. Thank you!

## FAQ

### Does this work for WP Multisite?

Yes, this plugin works great on Multisite.

### How to test if the plugin is working?

To test if this plugin is working, follow these steps:

 1. Install and activate the excellent plugin, [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 2. Visit the “Cron Events” screen in the WP Admin Area (under Tools menu)
 3. Look for a warning message at the top of the screen that says:

“There was a problem spawning a call to the WP-Cron system on your site. This means
WP-Cron events on your site may not work. The problem was: Unexpected HTTP response
code: 401”

If the warning message is displayed, then HTTP Auth is blocking WP Cron. Otherwise,
if no warning message is displayed, WP Cron is working normally.

Note: after testing it is fine to delete the WP Crontrol plugin if no longer needed.

### Hai domande?

Invia domande o feedback tramite il mio [modulo di contatto](https://plugin-planet.com/support/#contact)

## Recensioni

![](https://secure.gravatar.com/avatar/3c6cc83611367d8d1cec94ec909a9cb8a518bb030e23be6d77b142068fbb4406?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-10988/)󠁿

 [njwp](https://profiles.wordpress.org/njwp/) 17 Maggio 2026

perfect. Thank you for this plugin. Has just one job to do with no bloat

![](https://secure.gravatar.com/avatar/356e12611e6da4fa3b125cca9cfe2a06636c9b36e450c3dab7223eb30f480949?
s=60&d=retro&r=g)

### 󠀁[I couldn’t live without this plugin](https://wordpress.org/support/topic/i-couldnt-live-without-this-plugin-3/)󠁿

 [Jean Werk](https://profiles.wordpress.org/brightbluegum/) 15 Marzo 2025

Simple and efficient. I’ve installed it on all my Dev sites.

![](https://secure.gravatar.com/avatar/2363e77f5ceb3e87c70629f9a6a760b39817fd09dd21157c6f20c1fe7db88956?
s=60&d=retro&r=g)

### 󠀁[Does it work with NGINX?](https://wordpress.org/support/topic/does-it-work-with-nginx-3/)󠁿

 [digitalgonzo](https://profiles.wordpress.org/bzosel/) 28 Dicembre 2023 1 risposta

Hi, Thanks a lot for the plugin!Does it also work with NGINX?For some reason it 
does not work on my server…Many thanks!

![](https://secure.gravatar.com/avatar/448a9d229dddd0e66eae0a69bd3aa6f4a5451f7525284c183c22f604a0b75e60?
s=60&d=retro&r=g)

### 󠀁[it works!](https://wordpress.org/support/topic/it-works-2358/)󠁿

 [Anonymous User 20791862](https://profiles.wordpress.org/anonymized-20791862/) 
13 Gennaio 2023

it works!

![](https://secure.gravatar.com/avatar/7887622b66670013e2e2cecb25f2668caf979be26e493f480f789ec30a06a56c?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-994/)󠁿

 [worldtravlr](https://profiles.wordpress.org/worldtravlr/) 16 Agosto 2022

Thanks for making this plugin! Works as described!

![](https://secure.gravatar.com/avatar/dd8cef4c70bb3a14f5922eb54c92a8166947a303f44eb4a89a954cee4defad6f?
s=60&d=retro&r=g)

### 󠀁[Best to protect!](https://wordpress.org/support/topic/best-to-protect/)󠁿

 [tinaponting](https://profiles.wordpress.org/ponting/) 22 Aprile 2022

A great smal plugin that really makes a diffrence in protection

 [ Leggi tutte le recensioni di 16 ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/)

## Contributi e sviluppo

“WP Cron HTTP Auth” è un software open source. Le persone che hanno contribuito 
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

“WP Cron HTTP Auth” è stato tradotto in 2 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/wp-cron-http-auth/contributors)
per il contributo.

[Traduci “WP Cron HTTP Auth” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/wp-cron-http-auth)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/wp-cron-http-auth/)
segui il [repository SVN](https://plugins.svn.wordpress.org/wp-cron-http-auth/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/wp-cron-http-auth/)
tramite [RSS](https://plugins.trac.wordpress.org/log/wp-cron-http-auth/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

If you like WP Cron HTTP Auth, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?rate=5#new-post).
It helps to keep development and support going strong. Thank you!

**3.5 (2026/04/19)**

 * Improves readme.txt documentation
 * Tests on PHP 8.4 and 8.5
 * Tests on WordPress 7.0

Full changelog @ [https://plugin-planet.com/wp/changelog/wp-cron-http-auth.txt](https://plugin-planet.com/wp/changelog/wp-cron-http-auth.txt)

## Meta

 *  Versione **3.5**
 *  Ultimo aggiornamento **3 mesi fa**
 *  Installazioni attive **1.000+**
 *  Versione WordPress ** 4.7 o superiore **
 *  Testato fino alla versione **7.0**
 *  Versione PHP ** 5.6.20 o superiore **
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/wp-cron-http-auth/), [German](https://de.wordpress.org/plugins/wp-cron-http-auth/),
   e [Italian](https://it.wordpress.org/plugins/wp-cron-http-auth/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/wp-cron-http-auth)
 * Tag
 * [auth](https://it.wordpress.org/plugins/tags/auth/)[cron](https://it.wordpress.org/plugins/tags/cron/)
   [http](https://it.wordpress.org/plugins/tags/http/)[http auth](https://it.wordpress.org/plugins/tags/http-auth/)
   [wp cron](https://it.wordpress.org/plugins/tags/wp-cron/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/wp-cron-http-auth/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  16 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/wp-cron-http-auth/reviews/)

## Collaboratori

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/wp-cron-http-auth/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://monzillamedia.com/donate.html)