{"id":86013,"date":"2018-06-06T17:19:51","date_gmt":"2018-06-06T17:19:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-cron-http-auth\/"},"modified":"2026-03-27T17:43:13","modified_gmt":"2026-03-27T17:43:13","slug":"wp-cron-http-auth","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wp-cron-http-auth\/","author":43799,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.4","stable_tag":"3.4","tested":"7.0","requires":"4.7","requires_php":"5.6.20","requires_plugins":null,"header_name":"WP Cron HTTP Auth","header_author":"Jeff Starr","header_description":"Enable WP Cron on sites using HTTP Authorization","assets_banners_color":"","last_updated":"2026-03-27 17:43:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/monzillamedia.com\/donate.html","header_plugin_uri":"https:\/\/perishablepress.com\/wp-cron-http-auth\/","header_author_uri":"https:\/\/plugin-planet.com\/","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":32510,"num_ratings":15,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"specialk","date":"2018-06-06 17:27:28"},"1.1":{"tag":"1.1","author":"specialk","date":"2018-08-21 01:08:34"},"1.2":{"tag":"1.2","author":"specialk","date":"2018-11-16 22:32:09"},"1.3":{"tag":"1.3","author":"specialk","date":"2019-02-20 21:42:22"},"1.4":{"tag":"1.4","author":"specialk","date":"2019-03-20 18:58:55"},"1.5":{"tag":"1.5","author":"specialk","date":"2019-05-01 19:50:00"},"1.6":{"tag":"1.6","author":"specialk","date":"2019-09-02 23:12:14"},"1.7":{"tag":"1.7","author":"specialk","date":"2019-11-12 19:28:51"},"1.8":{"tag":"1.8","author":"specialk","date":"2020-03-25 21:33:08"},"1.9":{"tag":"1.9","author":"specialk","date":"2020-08-09 21:36:04"},"2.0":{"tag":"2.0","author":"specialk","date":"2020-11-15 22:34:45"},"2.1":{"tag":"2.1","author":"specialk","date":"2021-02-10 23:22:56"},"2.2":{"tag":"2.2","author":"specialk","date":"2021-07-17 20:26:02"},"2.3":{"tag":"2.3","author":"specialk","date":"2022-01-18 21:40:13"},"2.4":{"tag":"2.4","author":"specialk","date":"2022-05-17 20:17:33"},"2.5":{"tag":"2.5","author":"specialk","date":"2022-10-01 20:07:52"},"2.6":{"tag":"2.6","author":"specialk","date":"2023-03-03 20:53:49"},"2.7":{"tag":"2.7","author":"specialk","date":"2023-07-15 20:16:55"},"2.8":{"tag":"2.8","author":"specialk","date":"2023-10-26 20:48:01"},"2.9":{"tag":"2.9","author":"specialk","date":"2024-03-06 21:02:38"},"3.0":{"tag":"3.0","author":"specialk","date":"2024-06-25 21:27:03"},"3.1":{"tag":"3.1","author":"specialk","date":"2024-10-15 20:46:31"},"3.2":{"tag":"3.2","author":"specialk","date":"2025-03-22 18:37:29"},"3.3":{"tag":"3.3","author":"specialk","date":"2025-11-19 14:52:27"},"3.4":{"tag":"3.4","author":"specialk","date":"2026-03-27 17:43:13"}},"upgrade_notice":{"":"<p>Visit the WordPress Plugins screen, locate the plugin, and click &quot;Update&quot; :)<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":15},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1927704,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1927704,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.1","3.2","3.3","3.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1927706,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[8382,4567,947,127747,4568],"plugin_category":[38,59],"plugin_contributors":[78204],"plugin_business_model":[],"class_list":["post-86013","plugin","type-plugin","status-publish","hentry","plugin_tags-auth","plugin_tags-cron","plugin_tags-http","plugin_tags-http-auth","plugin_tags-wp-cron","plugin_category-authentication","plugin_category-utilities-and-tools","plugin_contributors-specialk","plugin_committers-specialk"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-cron-http-auth\/assets\/icon-128x128.png?rev=1927704","icon_2x":"https:\/\/ps.w.org\/wp-cron-http-auth\/assets\/icon-256x256.png?rev=1927704","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-cron-http-auth\/assets\/screenshot-1.png?rev=1927706","caption":"Plugin settings"}],"raw_content":"<!--section=description-->\n<p>This plugin enables WP Cron on sites using HTTP Authentication.<\/p>\n\n<p>How to use: Visit the plugin settings, enter your HTTP Auth credentials, save changes, done.<\/p>\n\n<p>Everything happens silently and automatically in the background.<\/p>\n\n<blockquote>\n  <p>\ud83d\udc49 Supports defined constants via wp-config.php\n  \ud83d\udc49 Super lightweight, fast, and effective\n  \ud83d\udc49 Plugin uses only 30KB of code<\/p>\n<\/blockquote>\n\n<p><strong>Privacy<\/strong><\/p>\n\n<p>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.<\/p>\n\n<p>WP Cron HTTP Auth is developed and maintained by <a href=\"https:\/\/x.com\/perishable\">Jeff Starr<\/a>, 15-year <a href=\"https:\/\/plugin-planet.com\/\">WordPress developer<\/a> and <a href=\"https:\/\/books.perishablepress.com\/\">book author<\/a>.<\/p>\n\n<p><strong>Support development<\/strong><\/p>\n\n<p>I develop and maintain this free plugin with love for the WordPress community. To show support, you can <a href=\"https:\/\/monzillamedia.com\/donate.html\">make a donation<\/a> or purchase one of my books:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wp-tao.com\/\">The Tao of WordPress<\/a><\/li>\n<li><a href=\"https:\/\/digwp.com\/\">Digging into WordPress<\/a><\/li>\n<li><a href=\"https:\/\/htaccessbook.com\/\">.htaccess made easy<\/a><\/li>\n<li><a href=\"https:\/\/wp-tao.com\/wordpress-themes-book\/\">WordPress Themes In Depth<\/a><\/li>\n<li><a href=\"https:\/\/books.perishablepress.com\/downloads\/wizards-collection-sql-recipes-wordpress\/\">Wizard's SQL Recipes for WordPress<\/a><\/li>\n<\/ul>\n\n<p>And\/or purchase one of my premium WordPress plugins:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/plugin-planet.com\/bbq-pro\/\">BBQ Pro<\/a> - Blazing fast WordPress firewall<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/blackhole-pro\/\">Blackhole Pro<\/a> - Automatically block bad bots<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/banhammer-pro\/\">Banhammer Pro<\/a> - Monitor traffic and ban the bad guys<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/ga-google-analytics-pro\/\">GA Google Analytics Pro<\/a> - Connect WordPress to Google Analytics<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/head-meta-pro\/\">Head Meta Pro<\/a> - Ultimate Meta Tags for WordPress<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/simple-ajax-chat-pro\/\">Simple Ajax Chat Pro<\/a> - Unlimited chat rooms<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/usp-pro\/\">USP Pro<\/a> - Unlimited front-end forms<\/li>\n<\/ul>\n\n<p>Links, tweets and likes also appreciated. Thank you! :)<\/p>\n\n<!--section=installation-->\n<p><strong>Installing the Plugin<\/strong><\/p>\n\n<ol>\n<li>Upload the plugin to your blog and activate<\/li>\n<li>Visit the plugin settings to configure options<\/li>\n<\/ol>\n\n<p><a href=\"https:\/\/wordpress.org\/documentation\/article\/manage-plugins\/#installing-plugins-1\">More info on installing WP plugins<\/a><\/p>\n\n<p><strong>Using Constants<\/strong><\/p>\n\n<p>Thanks to feedback from <a href=\"https:\/\/wordpress.org\/support\/topic\/feature-read-configuration-from-config-variables\/\">@nowakpiotrek<\/a>, this plugin supports username and password constants defined in WordPress <code>wp-config.php<\/code>. So instead of entering the username and password via the plugin settings, you can add the following definitions to the <code>wp-config.php<\/code> file, just before the line that says, \"That's all, stop editing!\" There you can add the following code:<\/p>\n\n<pre><code>define('WP_CRON_HTTP_AUTH_USERNAME', 'your-http-auth-username');\ndefine('WP_CRON_HTTP_AUTH_PASSWORD', 'your-http-auth-password');\n<\/code><\/pre>\n\n<p>Change <code>your-http-auth-username<\/code> and <code>your-http-auth-password<\/code> 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\".<\/p>\n\n<p><strong>Uninstalling<\/strong><\/p>\n\n<p>This plugin cleans up after itself. All plugin settings will be removed from the WordPress database when the plugin is deleted via the WP Plugins screen.<\/p>\n\n<p><strong>Restore Default Options<\/strong><\/p>\n\n<p>To restore default options, uninstall the plugin via the WP Plugins screen, and then reinstall.<\/p>\n\n<p><strong>Like the plugin?<\/strong><\/p>\n\n<p>If you like WP Cron HTTP Auth, please take a moment to <a href=\"https:\/\/wordpress.org\/support\/plugin\/wp-cron-http-auth\/reviews\/?rate=5#new-post\">give a 5-star rating<\/a>. It helps to keep development and support going strong. Thank you!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20for%20wp%20multisite%3F\"><h3>Does this work for WP Multisite?<\/h3><\/dt>\n<dd><p>Yes, this plugin works great on Multisite.<\/p><\/dd>\n<dt id=\"how%20to%20test%20if%20the%20plugin%20is%20working%3F\"><h3>How to test if the plugin is working?<\/h3><\/dt>\n<dd><p>To test if this plugin is working, follow these steps:<\/p>\n\n<ol>\n<li>Install and activate the excellent plugin, <a href=\"https:\/\/wordpress.org\/plugins\/wp-crontrol\/\">WP Crontrol<\/a><\/li>\n<li>Visit the \"Cron Events\" screen in the WP Admin Area (under Tools menu)<\/li>\n<li>Look for a warning message at the top of the screen that says:<\/li>\n<\/ol>\n\n<p>\"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\"<\/p>\n\n<p>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.<\/p>\n\n<p>Note: after testing it is fine to delete the WP Crontrol plugin if no longer needed.<\/p><\/dd>\n<dt id=\"got%20a%20question%3F\"><h3>Got a question?<\/h3><\/dt>\n<dd><p>Send any questions or feedback via my <a href=\"https:\/\/plugin-planet.com\/support\/#contact\">contact form<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>If you like WP Cron HTTP Auth, please take a moment to <a href=\"https:\/\/wordpress.org\/support\/plugin\/wp-cron-http-auth\/reviews\/?rate=5#new-post\">give a 5-star rating<\/a>. It helps to keep development and support going strong. Thank you!<\/p>\n\n<p><strong>3.4 (2026\/02\/03)<\/strong><\/p>\n\n<ul>\n<li>Improves readme.txt documentation<\/li>\n<li>Tests on PHP 8.4 and 8.5<\/li>\n<li>Tests on WordPress 6.9<\/li>\n<\/ul>\n\n<p>Full changelog @ <a href=\"https:\/\/plugin-planet.com\/wp\/changelog\/wp-cron-http-auth.txt\">https:\/\/plugin-planet.com\/wp\/changelog\/wp-cron-http-auth.txt<\/a><\/p>","raw_excerpt":"Enables WP Cron on sites using HTTP Authentication.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86013"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/specialk"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86013"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86013"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86013"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86013"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86013"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}