Answers.Body: <p>this is not a direct answer to your question, but you should run the cron from the cli - eg. using drush on drupal -. it bypasses all the problems and limitations of a webserver, eg timeout or memory...</p>
  
  <p>as for your message, i have the same configuration and i do not experience the problem. did you change something on how the session is managed on drupal?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-18T22:46:26.577Z
Answers.Text: Thanks for the response, I'll give it a go and let you know how I get on.
Answers.UserDisplayName: JohnFF
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-19T00:45:07.880Z
Answers.Text: Fixed up some permission issues (indicated by drush) and then it fixed up. Thanks for the assist.
Answers.UserDisplayName: JohnFF
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-19T22:50:23.953Z
Answers.Text: For anyone looking, my command is 00 * * * * cd /var/www/drupal && /usr/local/bin/drush --quiet civicrm-api -u 1 job.execute
Answers.UserDisplayName: JohnFF
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-18T20:10:14.310Z
Answers.LastActivityDate: 2017-07-18T20:10:14.310Z
Answers.UserDisplayName: Xavier
Body: <p>When running the cron by visiting or curling the URL:</p>
  
  <p>A session is active. You cannot change the session module's ini settings at this time in drupal_environment_initialize()</p>
  
  <p>Any advice? I'm suspicious of my permission settings.</p>
  
  <p>I have a specially created cron user, who has admin permission.</p>
  
  <p>Drupal 7.56 v.4.7.22</p>
  
Tags: <cron-job><cron>
Title: Cron Fail: Sessions
ThreadText: # Cron Fail: Sessions
  
  (Asked by: username_0 on 2017-07-18)
  
  When running the cron by visiting or curling the URL:
  
  A session is active. You cannot change the session module's ini settings at this time in drupal\_environment\_initialize()
  
  Any advice? I'm suspicious of my permission settings.
  
  I have a specially created cron user, who has admin permission.
  
  Drupal 7.56 v.4.7.22
  
  **Tags:** cron-job, cron
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-07-18. Score: 1 | Accepted answer
  
  this is not a direct answer to your question, but you should run the cron from the cli - eg. using drush on drupal -. it bypasses all the problems and limitations of a webserver, eg timeout or memory...
  
  as for your message, i have the same configuration and i do not experience the problem. did you change something on how the session is managed on drupal?
  
  > **Comments:**
  > **username_0**: Thanks for the response, I'll give it a go and let you know how I get on.  
  > **username_0**: Fixed up some permission issues (indicated by drush) and then it fixed up. Thanks for the assist.  
  > **username_0**: For anyone looking, my command is 00 * * * * cd /var/www/drupal && /usr/local/bin/drush --quiet civicrm-api -u 1 job.execute  
  
  ---
  
  