Error!
ErrorException [ Error ]: Class 'Fuel\Core\Exception' not found
COREPATH/classes/cli.php @ line 72
67 */ 68 public static function _init() 69 { 70 if ( ! \Fuel::$is_cli) 71 { 72 throw new Exception('Cli class cannot be used outside of the command line.'); // <---- 73 } 74 for ($i = 1; $i < $_SERVER['argc']; $i++) 75 { 76 $arg = explode('=', $_SERVER['argv'][$i]);
<?php namespace Fuel\Tasks; class Test { public static function run($message = 'Hello!') { return $message; } }
* * * * * php /path/to/my/fuelphp/oil refine test
The use of oil is not supported when running php-cgi. Oil needs php-cli to function!
It looks like you're new here. If you want to get involved, click one of these buttons!