# Mautic is giving throwing some exception while trying to send scheduled mails

**URL:** <https://forum.mautic.org/t/mautic-is-giving-throwing-some-exception-while-trying-to-send-scheduled-mails/7130>\
**Category:** Product Support\
**Created:** [January 11, 2017, 11:49am UTC](https://forum.mautic.org/t/mautic-is-giving-throwing-some-exception-while-trying-to-send-scheduled-mails/7130 "2017-01-11T11:49:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sneha.thomas](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sneha.thomas](https://forum.mautic.org/u/sneha.thomas)\
**Post date:** [January 11, 2017, 11:49am UTC](https://forum.mautic.org/t/mautic-is-giving-throwing-some-exception-while-trying-to-send-scheduled-mails/7130/1 "2017-01-11T11:49:53Z")

</div>

Iam getting an error log in mautic as follows  
  
  
  
mautic.NOTICE: Exception: DateInterval::\_\_construct(): Unknown or bad format (null) (uncaught exception) at /home/www/mas/app/bundles/CampaignBundle/Model/EventModel.php line 876 while running console command `mautic:campaigns:trigger` [] []  
  
And while running the crone job mautic:campaigns:trigger, it stops the execution and shows error as follows  
  
[Exception]  
  
DateInterval::\_\_construct(): Unknown or bad format (null)

---

<div class="post-metadata">

**Author:** ![sneha.thomas](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sneha.thomas](https://forum.mautic.org/u/sneha.thomas)\
**Post date:** [January 11, 2017, 11:49am UTC](https://forum.mautic.org/t/mautic-is-giving-throwing-some-exception-while-trying-to-send-scheduled-mails/7130/2 "2017-01-11T11:49:53Z")

</div>

Iam getting an error log in mautic as follows

mautic.NOTICE: Exception: DateInterval::\_\_construct(): Unknown or bad format (null) (uncaught exception) at /home/www/mas/app/bundles/CampaignBundle/Model/EventModel.php line 876 while running console command `mautic:campaigns:trigger` [] []  
And while running the crone job mautic:campaigns:trigger, it stops the execution and shows error as follows  
[Exception]  
DateInterval::\_\_construct(): Unknown or bad format (null)
