Answers.Body: <p>A patch has been accepted for this.</p>
  
  <p><a href="https://github.com/civicrm/civicrm-core/commit/76eeb935253f42e836a58e1f9d077caaa498c947" rel="nofollow">https://github.com/civicrm/civicrm-core/commit/76eeb935253f42e836a58e1f9d077caaa498c947</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-04T12:12:33.233Z
Answers.Text: Patch was included in 4.7.3.
Answers.UserDisplayName: Davy Ivins
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-02T05:12:41.163Z
Answers.LastActivityDate: 2016-03-02T05:12:41.163Z
Answers.UserDisplayName: Davy Ivins
Answers.Body: <p>Have you tried with the drush method? I found it more reliable to use than the cron one, and more performant than over wget too</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-01T16:41:42.413Z
Answers.Text: Thanks Xavier, but unfortunately I can't instal drush (and haven't learnt how to use it yet). Does anyone know how I can fix the undefined method error?
Answers.UserDisplayName: Davy Ivins
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-01T13:30:53.583Z
Answers.LastActivityDate: 2016-03-01T13:30:53.583Z
Answers.UserDisplayName: Xavier
Body: <p>After upgrading my Drupal 6 site (latest version) to Civi 4.7.2 all cronjobs set up in Cpanel are failing. Scheduled jobs are working fine when triggered in Civi but fail when triggered with the Cron url in the browser.</p>
  
  <p>My cron is </p>
  
  <pre><code>wget -O /dev/null http://mysiteurl/sites/all/modules/civicrm/bin/cron.php?name=xxx\&amp;pass=xxx\&amp;key=xxx
  </code></pre>
  
  <p>Error is:</p>
  
  <pre><code>Fatal error: Call to undefined method CRM_Utils_System_Drupal6::getUsersTableName() in /home/mysite/public_html/sites/all/modules/civicrm/CRM/Utils/System/Drupal6.php on line 313
  </code></pre>
  
Tags: <cron><drupal-6>
Title: Cron fatal error 4.7.2 (D6)
ThreadText: # Cron fatal error 4.7.2 (D6)
  
  (Asked by: username_0 on 2016-03-01)
  
  After upgrading my Drupal 6 site (latest version) to Civi 4.7.2 all cronjobs set up in Cpanel are failing. Scheduled jobs are working fine when triggered in Civi but fail when triggered with the Cron url in the browser.
  My cron is 
  wget -O /dev/null http://mysiteurl/sites/all/modules/civicrm/bin/cron.php?name=xxx\&pass=xxx\&key=xxx
  
  Error is:
  Fatal error: Call to undefined method CRM_Utils_System_Drupal6::getUsersTableName() in /home/mysite/public_html/sites/all/modules/civicrm/CRM/Utils/System/Drupal6.php on line 313
  
  **Tags:** cron, drupal-6
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2016-03-02. Score: 1 | Accepted answer
  
  A patch has been accepted for this.
  
  <https://github.com/civicrm/civicrm-core/commit/76eeb935253f42e836a58e1f9d077caaa498c947>
  
  > **Comments:**
  > **username_0**: Patch was included in 4.7.3.  
  
  ---
  
  ### Answer by username_1 on 2016-03-01. Score: 0
  
  Have you tried with the drush method? I found it more reliable to use than the cron one, and more performant than over wget too
  
  > **Comments:**
  > **username_0**: Thanks username_1, but unfortunately I can't instal drush (and haven't learnt how to use it yet). Does anyone know how I can fix the undefined method error?  
  
  ---
  
  