I've searched and I can't seem to find the solution in this forum.
I have a console command running forever for some reason.
And the problem is I want to log something every loop but the log doesn't show immediately
class EmailCommand extends CConsoleCommand {
public function run($args) {
for(;;) {
Yii::log('Something');
}
}
}
Is there any solution?

Help

















