A free open source IT asset/license management system
Added push/pull to the scheduler
snipe6a0fc1efa8a4
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.phpindex 9c7d299174..74f0b518b7 100644--- a/app/Console/Kernel.php+++ b/app/Console/Kernel.php@@ -25,6 +25,14 @@ class Kernel extends ConsoleKernel$schedule->command('backup:clean')->daily();$schedule->command('auth:clear-resets')->everyFifteenMinutes();$schedule->command('saml:clear_expired_nonces')->weekly();+ $schedule->command('snipeit:pull-inventory')+ ->hourly()+ ->withoutOverlapping();++ // Push runs on the half-hour so it doesn't collide with the pull run+ $schedule->command('snipeit:push-inventory')+ ->hourlyAt(30)+ ->withoutOverlapping();}/**