How to fix 401 http response error using Wp cron in wordpress?
Solution:
Just put this into your .htaccess file
# Exclude the WP CRON and other scripts from authentication
<FilesMatch "(wp-cron.php|another-script.php)$">
Satisfy Any
Order allow,deny
Allow from all
Deny from none
</FilesMatch>