# Mautic 5 Cronjob

**URL:** <https://forum.mautic.org/t/mautic-5-cronjob/34583>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 2, 2025, 9:02am UTC](https://forum.mautic.org/t/mautic-5-cronjob/34583 "2025-01-02T09:02:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [January 3, 2025, 12:49pm UTC](https://forum.mautic.org/t/mautic-5-cronjob/34583/3 "2025-01-03T12:49:12Z")

</div>

The error states that you are trying to execute “mautic:emails:send” which is obviously not a valid CMD.

Quote your CRON and your issue will most likely go away.

I answered that in few places here. One of it:

> [@Command "mautic:campaigns:update " is not defined](https://forum.mautic.org/t/command-mauticupdate-is-not-defined/34374/6):
>
> That would be 0,15,30,45 \* \* \* \* /usr/bin/php "/var/www/html/bin/console mautic:segments:update"

---

_[View the full topic](https://forum.mautic.org/t/mautic-5-cronjob/34583)._
