# Cronjob error

**URL:** <https://forum.mautic.org/t/cronjob-error/7878>\
**Category:** Product Support\
**Created:** [March 10, 2017, 10:00am UTC](https://forum.mautic.org/t/cronjob-error/7878 "2017-03-10T10:00:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BKluiter](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BKluiter](https://forum.mautic.org/u/BKluiter)\
**Post date:** [March 10, 2017, 10:00am UTC](https://forum.mautic.org/t/cronjob-error/7878/1 "2017-03-10T10:00:42Z")

</div>

Hi I am new to Mautic. Setting up the cronjobs was no problem but i get an error one the email cron  
  
  
  
/bin/bash: -c: line 0: syntax error near unexpected token `newline'<br /> /bin/bash: -c: line 0:`/usr/local/cpanel/3rdparty/bin/php /home/xxxxxx/subdomein.xxxxxx.nl/app/console mautic:email:process \>’  
  
  
  
According to my host the cronjob is setup right but there is an error in the code.  
  
Are they right?

---

<div class="post-metadata">

**Author:** ![BKluiter](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BKluiter](https://forum.mautic.org/u/BKluiter)\
**Post date:** [March 10, 2017, 10:00am UTC](https://forum.mautic.org/t/cronjob-error/7878/2 "2017-03-10T10:00:42Z")

</div>

Hi I am new to Mautic. Setting up the cronjobs was no problem but i get an error one the email cron

/bin/bash: -c: line 0: syntax error near unexpected token `newline' /bin/bash: -c: line 0:`/usr/local/cpanel/3rdparty/bin/php /home/xxxxxx/subdomein.xxxxxx.nl/app/console mautic:email:process \>’

According to my host the cronjob is setup right but there is an error in the code.  
Are they right?
