db->createCommand($sql)->execute(); echo "script completed successfully\n"; } public function actionGenerateUser() { echo UserCard::generateUserForUserCard() . "\n"; } }