Closed acai2046 closed 1 year ago
Unknown command: schedule/run Caused by: Exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "schedule/run".'
/console/config/schedule.php
`<?php use omnilight\scheduling\Schedule;
/**
@var Schedule $schedule */ $commandBathPath = Yii::getAlias('@app') . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'yii '; if(YII_ENV_PROD) { $schedule->exec($commandBathPath . 'spider/process-email-pic')->everyTenMinutes(); $schedule->exec($commandBathPath . 'email/send-from-queue')->everyNMinutes(2); }`
This is a 3rd party extension. Maybe you configured it wrong. Please direct all the issues regarding its usage there, thanks.
What steps will reproduce the problem?
Unknown command: schedule/run Caused by: Exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "schedule/run".'
What's expected?
/console/config/schedule.php
`<?php use omnilight\scheduling\Schedule;
/**
Additional info