add basic scheduler and queue processing for tasks
This commit is contained in:
parent
b6719129e1
commit
1296d08dcb
11 changed files with 441 additions and 4 deletions
|
@ -17,6 +17,7 @@ class Kernel extends ConsoleKernel
|
|||
\Pterodactyl\Console\Commands\MakeUser::class,
|
||||
\Pterodactyl\Console\Commands\ShowVersion::class,
|
||||
\Pterodactyl\Console\Commands\UpdateEnvironment::class,
|
||||
\Pterodactyl\Console\Commands\RunTasks::class,
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -27,7 +28,6 @@ class Kernel extends ConsoleKernel
|
|||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
$schedule->command('inspire')
|
||||
->hourly();
|
||||
$schedule->command('pterodactyl:tasks')->everyFiveMinutes()->withoutOverlapping();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue