We started to have some issues with our quotes not being cleaned correctly.

I checked list of cron jobs and could not find sales_clean_quotes in the list.

We are currently running Magento 2.3.3. How can I force sales_clean_quotes to be run? Is there a setting somewhere that might be turned off?

Shopping cart settings look ok. Is there any other settings I need to configure for the cron task to be run?

Shopping Cart Settings

  • Does it work when you run the file manually? I mean you load the class and run the method manually
    – Jimmy
    Mar 19 at 2:14
  • @Jimmy I'm not sure how to manually run it. Is there a CLI command to spool up sales_clean_quotes? Mar 19 at 2:46
  • 1
    Do you know programing? If yes, please check this answer magento.stackexchange.com/a/96875/80023. If no then you can check var/log folder to see if any cron or general error there
    – Jimmy
    Mar 19 at 3:39

You can run crons manually if you install the N98 Magerun tool for Magento 2 https://github.com/netz98/n98-magerun2.

The crons can individually be executed by running ./n98-magerun2.phar sys:cron:run <identifier>, which in your case, it will be:

./n98-magerun2.phar sys:cron:run sales_clean_quotes

without the n98 tool, you are not able to run an individual cron command on its own outside Magento's cron management.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.