1

I installed this extension http://www.yiiframework.com/extension/yii-resque/

user@host:/path/to/protected$ ./yiic rresque start
Yii command runner (based on Yii v1.1.13)
Usage: ./yiic <command-name> [parameters...]

The following commands are available:
 - message
 - migrate
 - shell
 - webapp

To see individual command help, use the following:
   ./yiic help <command-name>

What's might be wrong?

EDIT

I figured out the problem: I didn't put RResqueCommand.php into ./protected/commands folder.

arfname
  • 379
  • 1
  • 4
  • 10

2 Answers2

1

Put RResqueCommand.php inside protected/commands

According the yii docs:

Console commands are stored as class files under the directory specified by CConsoleApplication::commandPath.

By default, this refers to the directory protected/commands.

saeedeh
  • 343
  • 2
  • 7
0

Put this into your config/console.php:

'import' => array(
    'application.models.*',
    'application.components.*',
),
HarryFink
  • 1,010
  • 1
  • 6
  • 6