tconsolerunner An extension for running console command from web application on background.

  1. Requirements
  2. Usage

This extension is a trigger for console application. It's will call and running console command that already defined in protected/commands directory on background.

Requirements

Console application

Usage

  1. Put TConsoleRunner.php on extensions or components directory
  2. Create your console.php file or use that included in this extensions and put it on root directory of your application or same location with index.php.
  3. Create your console command and put it on protected/commands directory
  4. Trigger the console command from your web application like this:
$console=new TConsoleRunner('console.php');
$console->run('parsing filetoparse.xls');
$console->run('sendnotifemail tyohan@myemail.com');
11 0
13 followers
1 075 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Console
Tags: console
Developed by: tyohan
Created on: Aug 11, 2011
Last updated: 6 years ago

Downloads

show all

Related Extensions