Sebastian Marcet 1323dc3a38 Teams API
Added Teams API to create, delete and update chat teams.
create , accept and decline team invitations.
post and list team messages (push notifications)

Change-Id: I2d8784e1a505c1988cb5c1b3d7011f943306c7c7
2016-12-27 10:09:13 -03:00

40 lines
1.2 KiB
PHP

<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
\App\Console\Commands\SummitJsonGenerator::class,
\App\Console\Commands\ChatTeamMessagesSender::class,
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
//Current
$schedule->command('summit:json-generator')->everyTenMinutes()->withoutOverlapping();
//Austin
$schedule->command('summit:json-generator 6')->everyTenMinutes()->withoutOverlapping();
//BCN
$schedule->command('summit:json-generator 7')->everyTenMinutes()->withoutOverlapping();
//Boston
$schedule->command('summit:json-generator 22')->everyTenMinutes()->withoutOverlapping();
// teams messages
$schedule->command('teams:message-sender 100')->everyMinute()->withoutOverlapping();
}
}