Skip to content

Cron error #3753

Closed
Closed
@thomvanderboon

Description

@thomvanderboon

Every night at 0:00 I get the following cron error

PHP Fatal error: Class 'Magento\SalesRule\Crone\AggregateSalesReportCouponsData' not found in /var/www/html_dev/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 97

I have the same issue on a 2.0.2 install as well as a clean dev install

After installation the following commands have been issued:

composer update
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy en_US nl_NL
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush

I run the cron as follows:

*/1 * * * * php -c /etc/php.ini /var/www/html/bin/magento cron:run > /dev/null
*/1 * * * * php -c /etc/php.ini /var/www/html/update/cron.php > /dev/null
*/1 * * * * php -c /etc/php.ini /var/www/html/bin/magento setup:cron:run > /dev/null

So any errors will be mailed to the system owner.

Error mail is issued only once every day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions