I'm running my cronjob using n98-magerun (for testing purposes):
./n98-magerun2.phar sys:cron:run my_cron_job
However, the job is not running, and the following error occurs:
[LogicException]
Circular dependency: Magento\Backend\Model\Auth\Session depends on Magento\Backend\Model\Authorization\RoleLocator and vice versa.
I've flushed caches & var/generation, so it's not that. Has anyone come across this issue?