In your custom shell class add empty "startup()" function to ovverride Shell class startup() function.
class MySampleCustomShell extends AppShell { ... public function startup() { } ... }