When using cron with Yii an error along the lines of “bash: ./yiic: Permission denied” will appear unless you first make yiic executable.
The easiest way to do this is to run the following command in your framework directory:
chmod +x yiic
The x simply means “eXecutable”.