I password protected my website root directory via cpanel directory privacy to help “hide” a site I’m developing and installed this plugin still allow cron jobs to run. Recently I removed the directory protection and deactivated the WP Cron HTTP Auth plugin. I checked the cron events via WP Crontrol plugin and no cron jobs have run since the HTTP Auth removal. They have all missed their schedules.
I tried clearing the pending cron jobs. They repopulate but still none will execute. I also checked the htaccess file for http auth remnants and tried adding the following to the wp-config file.
define('DISABLE_WP_CRON', true);
define('ALTERNATE_WP_CRON', true);
]]>
Hey,
Are you planning to add a feature to load the configuration variables from constants defined in wp-config.php?
That would be neat ??
]]>Hi Jeff,
Thanks for the nice plugin that allows to run Cron jobs on a password protected site !
Not a big deal, but I observe that Cron is running normally only when the site is accessed with correct authentication, otherwise it gets 401 error code – is it intended to work like this ?
My slight concern is that if there is no authorized access then the Cron jobs are not performed even if there are other regular attempts to visit the site.
Regards,
Eugene
Does this work on wordpress sites installed on IIS servers that are using Windows Authentication.
I seem to still be running into the same problem even when I put in my credentials.
]]>