Good bye Dispatcher, Hello registerSchedule()

This commit is contained in:
Samuel Georges 2015-02-07 19:24:08 +11:00
parent 9d649ebb1e
commit c8e23699c8
2 changed files with 15 additions and 7 deletions

View File

@ -21,6 +21,17 @@
*SPAWN* means to create a file using the git source.
### Cron job changes
Remove old cron jobs:
* * * * * php /path/to/artisan queue:cron 1>> /dev/null 2>&1
* * * * * php /path/to/artisan scheduled:run 1>> /dev/null 2>&1
Add new cron job:
* * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1
### Clean up
Optional things you can delete, if they do not contain anything custom.
@ -38,6 +49,10 @@ Optional things you can delete, if they do not contain anything custom.
### Breaking code changes
#### Dispatcher has been removed
Dispatcher functionality is now baked in to Laravel, check the Plugin registration documentation for more information.
#### Removed PATH_* constants
PATH_APP - use app_path()

View File

@ -33,16 +33,9 @@ return [
'October\Rain\Filesystem\FilesystemServiceProvider',
'October\Rain\Html\HtmlServiceProvider',
'October\Rain\Network\NetworkServiceProvider',
// 'October\Rain\Translation\TranslationServiceProvider',
'October\Rain\Scaffold\ScaffoldServiceProvider',
'October\Rain\Flash\FlashServiceProvider',
'October\Rain\Mail\MailServiceProvider',
'October\Rain\Parse\ParseServiceProvider',
/*
* Vendor providers
*/
// @todo L5 Dispatcher broken
// 'Indatus\Dispatcher\ServiceProvider',
];