yii2 command line and plesk sheduled tasks

I am trying to run a console command of yii2 with plesk command scheduled line without success

I set "php script" mysite.com/yii.php with command admin (yii admin) and the message is the script run in (some) seconds with errors.

How can I solve this and how can I see the error?

If you’re getting error messages, it’d be helpful to post them here.