# Parse error with cronjob app/console

**URL:** <https://forum.mautic.org/t/parse-error-with-cronjob-app-console/8767>\
**Category:** Product Support\
**Created:** [June 19, 2017, 5:56pm UTC](https://forum.mautic.org/t/parse-error-with-cronjob-app-console/8767 "2017-06-19T17:56:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerhard](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Gerhard](https://forum.mautic.org/u/Gerhard)\
**Post date:** [June 19, 2017, 5:56pm UTC](https://forum.mautic.org/t/parse-error-with-cronjob-app-console/8767/1 "2017-06-19T17:56:41Z")

</div>

I downloaded mautic 2.8.2 and trying to configure the cron job on a hosted web site.  
  
My service provider has PHP 7 running.  
  
Now I am getting this error message send  
  
  
  
  
**Parse error** : syntax error, unexpected T\_STRING, expecting T\_CONSTANT\_ENCAPSED\_STRING or ‘(’ in **/homepages/37/d666439592/htdocs/mautic/2.8.2/app/console** on line **22**  
  
  
  
  
It would be great if I could get a hint whats wrong.

---

<div class="post-metadata">

**Author:** ![Gerhard](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Gerhard](https://forum.mautic.org/u/Gerhard)\
**Post date:** [June 19, 2017, 5:56pm UTC](https://forum.mautic.org/t/parse-error-with-cronjob-app-console/8767/2 "2017-06-19T17:56:41Z")

</div>

I downloaded mautic 2.8.2 and trying to configure the cron job on a hosted web site.  
My service provider has PHP 7 running.  
Now I am getting this error message send  
  
  
**Parse error** : syntax error, unexpected T\_STRING, expecting T\_CONSTANT\_ENCAPSED\_STRING or ‘(’ in **/homepages/37/d666439592/htdocs/mautic/2.8.2/app/console** on line **22**

It would be great if I could get a hint whats wrong.
