public function actionRunSpoolDaemon($loopLimit = 1000, $chunkSize = 100)
    {
        set_time_limit(0);
        for ($i = 1; $i < $loopLimit; $i++) {
            $this->runChunk($chunkSize);
            sleep(1);
        }
    }