Segment Cron Job Error

Hello there,



We are having trouble to execute the cron job command that update segments list.



When we execute the following:

Code:
php /var/www/patch.com/htdocs/app/console mautic:segments:update --force --batch-limit=300

The following error are returned:
Code:
0/1 [>---------------------------] 0%PHP Warning: require(/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php): failed to open stream: No such file or directory in /var/www/patch.com/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209 PHP Fatal error: require(): Failed opening required '/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/patch.com/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

[SymfonyComponentDebugExceptionFatalErrorException]
Compile Error: require(): Failed opening required ‘/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundl
eEntityLead.php’ (include_path=’.:/usr/share/php:/usr/share/pear’)


Does anyone have any clues?

Thank you!

Hello there,

We are having trouble to execute the cron job command that update segments list.

When we execute the following:

php /var/www/patch.com/htdocs/app/console mautic:segments:update --force --batch-limit=300

The following error are returned:

[code] 0/1 [>---------------------------] 0%PHP Warning: require(/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php): failed to open stream: No such file or directory in /var/www/patch.com/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209
PHP Fatal error: require(): Failed opening required ‘/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/patch.com/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

[SymfonyComponentDebugExceptionFatalErrorException]
Compile Error: require(): Failed opening required ‘/var/www/patch.com/htdocs/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundl
eEntityLead.php’ (include_path=’.:/usr/share/php:/usr/share/pear’)
[/code]

Does anyone have any clues?

Thank you!