Body: <p>I have a simple report that should be sent once per day, Cron Jobs do work and if I force sending the related report it's sent.</p>
  <p>Looking at the log I can see that when I force the cron job then the action is executed :</p>
  <p><code>Entité : Job Action : mail_report Synthèse Finished execution of Création comptes WP with result: Succès (1)</code></p>
  <p>But when running along with all cron jobs it only starts but never ends:</p>
  <p><code>Entité : Job Action : mail_report Synthèse Starting execution of Création comptes WP</code></p>
  <p>What could prevent the task to not be terminated?</p>
  <p>EDIT 1: a report on an other instance is also not sent, but started</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-01T19:47:31.407Z
Comments.Text: What hosting is it on?  I've had cron jobs start and not finish because they hit limits and were killed - either exceeding permitted memory or duration limits.
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-03T07:12:23.380Z
Comments.Text: We hosting our instances on a high-end server with lots of resources. I'll still have a look at memory overflow. Thanks for this hint Aidan.
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-07T15:23:07.890Z
Comments.Text: how much would you advise for the setting of the time-out? I switched from 120 to 300.
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-08T10:59:49.083Z
Comments.Text: Are you trying to email the report to more than one contact in the 'to' field?
Comments.UserDisplayName: RebeccaTregenna
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-08T11:40:40.843Z
Comments.Text: good question! I checked and actually I only have one recipient
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-01T14:51:10.523Z
Comments.Text: on an other Drupal instance Reports are also not sent by the cron job. Very odd situation :-/
Comments.UserDisplayName: Guillaume Sorel
Tags: <civireport><cron-job>
Title: Report not being sent
ThreadText: # Report not being sent
  
  (Asked by: username_0 on 2022-06-01)
  
  I have a simple report that should be sent once per day, Cron Jobs do work and if I force sending the related report it's sent.
  
  Looking at the log I can see that when I force the cron job then the action is executed :
  
  `Entité : Job Action : mail_report Synthèse Finished execution of Création comptes WP with result: Succès (1)`
  
  But when running along with all cron jobs it only starts but never ends:
  
  `Entité : Job Action : mail_report Synthèse Starting execution of Création comptes WP`
  
  What could prevent the task to not be terminated?
  
  EDIT 1: a report on an other instance is also not sent, but started
  
  **Tags:** civireport, cron-job
  
  > **Comments:**
  > **username_1**: What hosting is it on?  I've had cron jobs start and not finish because they hit limits and were killed - either exceeding permitted memory or duration limits.  
  > **username_0**: We hosting our instances on a high-end server with lots of resources. I'll still have a look at memory overflow. Thanks for this hint username_1.  
  > **username_0**: how much would you advise for the setting of the time-out? I switched from 120 to 300.  
  > **username_2**: Are you trying to email the report to more than one contact in the 'to' field?  
  > **username_0**: good question! I checked and actually I only have one recipient  
  > **username_0**: on an other Drupal instance Reports are also not sent by the cron job. Very odd situation :-/  
  
  ---
  
  ## 0 answers
  
  