Event Listener for cronjob?

I have written an event listner triggered by the 'init_dependencies' event.
It works obviously fine in the web application, but when running a xenforo cronjob, it does not react.
Did I do something wrong or is this event really not being fired in a cronjob?
Do I have to take another event listener?