yiinitializr
yiinitializr copied to clipboard
Cronjob
Hi, Thx for this usefull Tool. All works in application. Iam usin a basic app and now i need to implement a cronjob. Anyone can plz show me a standard example for this ?
i build a command.php like the same index.php
example : https://gist.github.com/brewing/71a0ff513cac3e0dad6c
error : Fatal error: Class 'Yiinitializr\Helpers\Exception' not found in /Users/brewing/webserver/facebook/app/lib/Yiinitializr/Helpers/Initializer.php on line 37
console.php my config file
https://gist.github.com/brewing/7a4050b38bdae1e6cffd
Sorry what i'am doing wrong ? i dismissed something ? It would nice you can answer quickly because i need it fast.
Thx
if (($root = realpath($root)) === false) throw new Exception('could not initialize framework.');
To
if (($root = realpath($root)) === false) throw new \Exception('could not initialize framework.');