Yii Framework Forum: How To Set A Default Command In Yii Command Runner - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Set A Default Command In Yii Command Runner Rate Topic: -----

#1 User is offline   technollogie 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 18-August 12

Posted 30 January 2013 - 02:04 AM

Ive got an cronjob running
it returns:

Yii command runner (based on Yii v1.1.12)
Usage: /var/www/path/to/site/cron.php <command-name> [parameters...]

The following commands are available:
- cron
- docs

To see individual command help, use the following:
  /var/www/path/to/site/cron.php help <command-name>


so it seems that it starts perfect, how can i make cron the default command if no command is given.

The Problem is i have no direct possibility to change the crontab.

Thanks in advance!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users