Overview
This applies to Magento 2.3+.
If you have your crontab configured to run the bin/magento cron:run
command using flock
, you should either:
- Remove
flock
, since it's technically not necessary as of Magento 2.3.2 - Pass the
-o
command to flock, as this will prevent the indefinitely runningbin/magento queue:consumers:start
processes spawned bybin/magento cron:run
from holding a lock when they shouldn't be.
Before: