setName('test')->setDescription('Here is the remark '); } protected function execute(Input $input, Output $output) { $acocunt =Db::name('Account')->where("is_del=0 and status>=1 and expiretime<='".date("Y-m-d H:i:s")."'")->select(); var_dump($acocunt); $output->writeln("AccountExpire:"); } }