Answers.Body: <p>Check that:</p>
  
  <ul>
  <li>your command line specifies the -s parameter, as it is used by CiviMail (cf. <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-PHPclimethod" rel="nofollow">https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-PHPclimethod</a>)</li>
  <li>the user/password pair on the command line is for a valid Joomla user (log into the website with this exact username and password)</li>
  <li>that this user has at least the Access CiviCRM and Administer CiviCRM permissions in Joomla</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-23T03:09:01.697Z
Answers.LastActivityDate: 2016-06-23T03:09:01.697Z
Answers.UserDisplayName: cividesk
Body: <p>Running the php cli for the mailing process, got the failure</p>
  
  <pre><code>Entity: job Action: process_mailing
  Summary
  Finished execution of Send Scheduled Mailings with result: Failure, Error message: API permission check failed for Group/get call; insufficient permission: require access CiviCRM
  Details
  Parameters parsed (and passed to API method): 
  a:1:
  Unknown macro: {s}
  Full message: 
  Finished execution of Send Scheduled Mailings with result: Failure, Error message: API permission check failed for Group/get call; insufficient permission: require access CiviCRM
  </code></pre>
  
  <p>Here is my command for the cli</p>
  
  <p>php ../administrator/components/com_civicrm/civicrm/bin/cli.php -u user -p password -e Job -a execute</p>
  
  <p>Running manually from the schedule job, CiviCRM » Administer CiviCRM » Scheduled Jobs, 
  there is no failure </p>
  
  <p>Similar problem/bugs has been mentioned here <a href="https://issues.civicrm.org/jira/browse/CRM-17968" rel="nofollow">CRM-17968</a> (fixed 4.7.4)</p>
  
  <p>I saw that the fix already patched in the civicrm 4.7.8. but the problem still persisted, and i did not yet found the solution.</p>
  
  <p>Thank you</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-04T16:48:18.290Z
Comments.Text: This is also a problem in 5.5.3 with Joomla using `cv api Job.execute`.
Comments.UserDisplayName: Andie Hunt
Tags: <civimail><joomla>
Title: Error on running cron job for mailing process on CivicRM 4.7.8
ThreadText: # Error on running cron job for mailing process on CivicRM 4.7.8
  
  (Asked by: username_0 on 2016-06-20)
  
  Running the php cli for the mailing process, got the failure
  Entity: job Action: process_mailing
  Summary
  Finished execution of Send Scheduled Mailings with result: Failure, Error message: API permission check failed for Group/get call; insufficient permission: require access CiviCRM
  Details
  Parameters parsed (and passed to API method): 
  a:1:
  Unknown macro: {s}
  Full message: 
  Finished execution of Send Scheduled Mailings with result: Failure, Error message: API permission check failed for Group/get call; insufficient permission: require access CiviCRM
  
  Here is my command for the cli
  php ../administrator/components/com_civicrm/civicrm/bin/cli.php -u user -p password -e Job -a execute
  Running manually from the schedule job, CiviCRM » Administer CiviCRM » Scheduled Jobs, 
  there is no failure 
  Similar problem/bugs has been mentioned here CRM-17968 (fixed 4.7.4)
  I saw that the fix already patched in the civicrm 4.7.8. but the problem still persisted, and i did not yet found the solution.
  Thank you
  
  **Tags:** civimail, joomla
  
  > **Comments:**
  > **username_1**: This is also a problem in 5.5.3 with Joomla using `cv api Job.execute`.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-06-23. Score: 0 | Accepted answer
  
  Check that:
  
  * your command line specifies the -s parameter, as it is used by CiviMail (cf. <https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-PHPclimethod>)
  * the user/password pair on the command line is for a valid Joomla user (log into the website with this exact username and password)
  * that this user has at least the Access CiviCRM and Administer CiviCRM permissions in Joomla
  
  
  ---
  
  