# I try to execute the cron, but it’s not working

**URL:** <https://forum.mautic.org/t/i-try-to-execute-the-cron-but-it-s-not-working/18805>\
**Category:** Product Support\
**Created:** [March 22, 2021, 9:39pm UTC](https://forum.mautic.org/t/i-try-to-execute-the-cron-but-it-s-not-working/18805 "2021-03-22T21:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pramirez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pramirez/32/1504_2.png) [@pramirez](https://forum.mautic.org/u/pramirez)\
**Post date:** [March 22, 2021, 9:39pm UTC](https://forum.mautic.org/t/i-try-to-execute-the-cron-but-it-s-not-working/18805/1 "2021-03-22T21:39:08Z")

</div>

Is it here to post my problem installing Mautic 3?

**Your software**  
My Mautic version is: v3.3.1  
My PHP version is: PHP Version 7.3.27  
My Database type and version is: MariaDB 10.1

**Your problem**  
My problem is: I try to execute the cron, but it’s not working.

These errors are showing in the log:  
PHP Warning: Class ‘Tightenco\Collect\Support\LazyCollection’ not found in /home/mauticautenticonuevayork/www/vendor/tightenco/collect/src/Collect/Support/alias.php on line 19  
PHP Parse error: syntax error, unexpected ‘=’ in /home/mauticautenticonuevayork/www/vendor/tightenco/collect/src/Collect/Support/LazyCollection.php on line 611

Steps I have tried to fix the problem: I read some topics related but they said that it’s necessary an updated version of the PHP and I have tried with 7.3 and 7.4. It’s a new installation on a dedicated external server.  
Is there any other possible place to look?  
Thanks a lot!

---

<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:** [March 24, 2021, 1:38pm UTC](https://forum.mautic.org/t/i-try-to-execute-the-cron-but-it-s-not-working/18805/2 "2021-03-24T13:38:05Z")

</div>

via ssh run

> php -v

command. See if there is a difference in php versions in CLI. If so change it to the same version. 7.3.27 according to your post.

---

<div class="post-metadata">

**Author:** ![pramirez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pramirez/32/1504_2.png) [@pramirez](https://forum.mautic.org/u/pramirez)\
**Post date:** [March 24, 2021, 7:04pm UTC](https://forum.mautic.org/t/i-try-to-execute-the-cron-but-it-s-not-working/18805/3 "2021-03-24T19:04:52Z")

</div>

Thanks @EJL.

I run the command and the version is the same. I upgraded to PHP 7.4.16 and both the Hosting panel and the SSH terminal show the same version.

The cron is still with the same problem.
