# Scheduled Reports Attachments

**URL:** <https://forum.mautic.org/t/scheduled-reports-attachments/19413>\
**Category:** Product Support\
**Created:** [May 11, 2021, 10:07am UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413 "2021-05-11T10:07:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 11, 2021, 10:07am UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/1 "2021-05-11T10:07:44Z")

</div>

Hi

I am seeing some strange behaviour with sending scheduled reports.

On certain instances of Mautic we are able to send out scheduled reports and emails are being sent out with attachment, however on certain instances the attachment is not being sent.

I have tried looking through system logs and mautic.error but am unable to find anything that sticks out.

Any ideas on how to debug or maybe some fixes if someone has experienced this already

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [May 11, 2021, 1:17pm UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/2 "2021-05-11T13:17:42Z")

</div>

When you view the report and export, does it’s size exceed any of the server parameters or timeouts?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 11, 2021, 3:10pm UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/3 "2021-05-11T15:10:11Z")

</div>

Hey @EJL Thanks for the reply. Nope it does not, I am running really tiny reports to test, however I did see the article about attachment size.

Te export I am running is only 8KB.

I am not seeing anything in the logs

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [May 13, 2021, 3:12pm UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/4 "2021-05-13T15:12:27Z")

</div>

I’m sure you already thought of this but the way I would troubleshoot is turn off all crons, enable debugging and run the reports cron with the -vvv option to see the output.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 13, 2021, 4:03pm UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/5 "2021-05-13T16:03:17Z")

</div>

Hey @EJL No I did not :-). But great idea and never thought of running the cron with -vvv. Will give it a shot and report on the results.

Appreciated!

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 13, 2021, 5:02pm UTC](https://forum.mautic.org/t/scheduled-reports-attachments/19413/6 "2021-05-13T17:02:33Z")

</div>

Just ran this: php7.3 /var/www/mautic/bin/console mautic:reports:scheduler -vvv

Scheduler has finished

Did not get much from it. I am wondering if it is maybe something with the different versions of Mautic.

The one that is working for me 3.3.1 and the ones that are not working are 3.3.2, 3.2.4.

Would be interested to see where the temp files are created and what is happing. None of the logs are showing anything.

Really frustrating
