extbase: commandcontroller doesn’t show up in scheduler

My controller just wouldn’t show up in my extbase commandcontroller task menu and I couldn’t figure out why. Turns out these were my mistakes:

  • the controller MUST be named CommandController. Mine was called DoSomethingController, which should have been DoSomethingCommandController
  • the file must be named ending with CommandController as well. I had called my file DoSomething.php, the right name would have been DoSomethingCommandController.php

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.