Is it possible to run a **web** action in a **console** controller?

In a web controller (yii\web\Controller) I have an action which I would like to run as a cron job. But if I try to run it in a console controller (yii\console\Controller):

```
Yii::$app->runAction('controller/action');

```

then I receive the following error message:

```
Error: Unknown command "controller/action".

```