Title: Cron jobs failed
Last modified: August 31, 2022

---

# Cron jobs failed

 *  Resolved [ultramega](https://wordpress.org/support/users/ultramega/)
 * (@ultramega)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cron-jobs-failed/)
 * Hi,
    I use Get URL Cron on an intranet website. But since ActiveDirectory login
   is enabled for users, all the cron jobs fails, even those who are not setup with
   Get URL Cron. Using the following lines in my htaccess files, I succeeded to 
   get all the cron jobs working except those set up with Get Url Cron
 *     ```
       <FilesMatch "(wp-cron.php)$">
       Satisfy Any
       Order allow,deny
       Allow from all
       Deny from none
       </FilesMatch>
       ```
   
 * So, I tried to add geturlcron.php to the lines of my htaccess files like this:
 *     ```
       <FilesMatch "(wp-cron.php|geturlcron.php)$">
       Satisfy Any
       Order allow,deny
       Allow from all
       Deny from none
       </FilesMatch>
       ```
   
 * But it doesn’t work either and the logs still display the following message:
   
   <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”><html><head><title>401 Unauthorized
   </title></head><body><h1>Unauthorized</h1><p>This server could not verify that
   youare authorized to access the docu mentrequested. Either you supplied the wrongcredentials(
   e.g., bad password), or yourbrows
 * As the cron job call a page of a website containing a shortcode from JSON Content
   Importer Pro, could it be the problem ?
 * Any ideas ?
 * Best Regards,
    Cedric

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/cron-jobs-failed/#post-16062441)
 * Hi Cedric,
 * sorry for the delay for an answer.
    The error 401 is given by the webserver. 
   If you try another public webpage like wordpress.org: Does that work? If yes,
   the Plugin works and the URL with the 401 error expects some authentication. 
   So you have to add something. If no: Then the question is, what server gives 
   the 401 error.
 * Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Cron jobs failed’ is closed to new replies.

 * ![](https://ps.w.org/get-url-cron/assets/icon-256x256.png?rev=2200082)
 * [Cron Setup and Monitor - Get URL Cron](https://wordpress.org/plugins/get-url-cron/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/get-url-cron/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/get-url-cron/)
 * [Active Topics](https://wordpress.org/support/plugin/get-url-cron/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/get-url-cron/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/get-url-cron/reviews/)

## Tags

 * [cron job](https://wordpress.org/support/topic-tag/cron-job/)

 * 1 reply
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/cron-jobs-failed/#post-16062441)
 * Status: resolved