Does anyone know an elegant way to run yii commands periodically? I need to run a yii command or "script" say every minute to monitor files in a folder, and add their contents to a database used by the yii webapplication. This communication is enforced by a legacy system I cannot change.
Ok, thanks. Now I just need to figure out how to create command without using the shell. I guess that is possible though I have never done that before.