WP Cron HTTP Auth

Description

This plugin enables WP Cron on sites using HTTP Authorization.

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

Everything happens silently and automatically in the background.

New! Supports defined constants via wp-config.php (learn more)

Privacy

This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.

Screenshots

  • Plugin settings

Installation

Installing the Plugin

  1. Upload the plugin to your blog and activate
  2. Visit the plugin settings to configure options

More info on installing WP plugins

Using Constants

Thanks to feedback from @nowakpiotrek, 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”.

Uninstalling

This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.

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. 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.

Got a question?

Send any questions or feedback via my contact form

Reviews

November 18, 2021
WPCRON won't run out-of-box with HTTPAUTH active (popup credentials) - this tool allows you to enter your HTTPAUTH credentials and lets WPCRON run as normal. Perfect solve for my problem, thank you!
Read all 11 reviews

Contributors & Developers

“WP Cron HTTP Auth” is open source software. The following people have contributed to this plugin.

Contributors

“WP Cron HTTP Auth” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WP Cron HTTP Auth” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

If you like WP Cron HTTP Auth, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

2.4 (2022/05/17)

  • Generates new default translation template
  • Tests on WordPress 6.0

2.3 (2022/01/17)

  • Adds support for config constants
  • Improves loading of translations
  • Updates some links to external resources
  • Changes minimum required WP version to 4.6
  • Tests on WordPress 5.9

2.2 (2021/07/17)

  • Tests on WordPress 5.8

2.1 (2021/02/10)

  • Tests on WordPress 5.7

2.0 (2020/11/15)

  • Tests on PHP 7.4 and 8.0
  • Tests on WordPress 5.6

1.9 (2020/08/09)

  • Refines readme/documentation
  • Tests on WordPress 5.5

1.8 (2020/03/19)

  • Tests on WordPress 5.4

1.7 (2019/11/07)

  • Tests on WordPress 5.3

1.6 (2019/09/02)

  • Updates some links to https
  • Generates new default translation template
  • Tests on WordPress 5.3 (alpha)

1.5 (2019/05/01)

  • Bumps minimum PHP version to 5.6.20
  • Updates default translation template
  • Tests on WordPress 5.2

1.4 (2019/03/10)

  • Changes Password input to type β€œpassword”
  • Adds check for admin user for settings shortcut link
  • Tweaks plugin settings screen UI
  • Generates new default translation template
  • Tests on WordPress 5.1 and 5.2 (alpha)

1.3 (2019/02/20)

  • Just a version bump for compat with WP 5.1
  • Full update coming soon πŸ™‚

1.2 (2018/11/16)

  • Adds homepage link to Plugins screen
  • Updates default translation template
  • Tests on WordPress 5.0 (beta)

1.1 (2018/08/20)

  • Adds screenshot and icons for WP Plugin Directory
  • Adds β€œrate plugin” links on Plugins and settings page
  • Adds rel="noopener noreferrer" to all blank-target links
  • Updates GDPR blurb and donate link
  • Generates default translation template
  • Further tests on WP 4.9 + 5.0 (alpha)

1.0 (2018/05/18)

  • Initial release