The plugin doesn’t block standard WP cron task requests. It seems your cron cpanel configuration uses some strange URI to fire cron tasks. Anyway, you need to whitelist that strange cron URI or the server IP as described: https://wpcerber.com/wordpress-probing-for-vulnerable-php-code/
Thread Starter
cmplus
(@cmplus)
my cron command is this:
wget -O /dev/null http://mywebsite/wp-cron.php?doing_wp_cron > /dev/null 2>&1
I entered this /wp-cron.php. Now I wait to see if it works
-
This reply was modified 3 years, 7 months ago by
cmplus.
Thread Starter
cmplus
(@cmplus)
Even after making the change the cron still does not work, I do not understand what’s wrong
So the plugin doesn’t block cron requests anymore?
Thread Starter
cmplus
(@cmplus)
no I still do not find the solution. the cron does not work
No requests have been logged.
Probing for vulnerable PHP code Denied
URL: mywebsite/wp-cron.php
You have to specify the doing_wp_cron parameter this way, otherwise, your cron tasks will not work and the plugin and, what’s more important, WordPress doesn’t recognize the request as a cron request.
doing_wp_cron=$(date +\%s)
Thread Starter
cmplus
(@cmplus)
Where should I enter that parameter?
This way:
wget -O - -q https://mywebsite.com/wp-cron.php?doing_wp_cron=$(date +\%s)
Thread Starter
cmplus
(@cmplus)
Oops, I forget about the message redirection parameters, the final version is:
wget -O – -q https://mywebsite.com/wp-cron.php?doing_wp_cron=$(date +\%s) >/dev/null 2>&1