structures and assets jobs

This commit is contained in:
2019-07-04 21:24:52 -05:00
parent 8322858e20
commit 5fcb71dfd1
2 changed files with 6 additions and 8 deletions

View File

@@ -85,14 +85,6 @@ class GetStructuresCommand extends Command
return null;
}
// Disable all caching by setting the NullCache as the
// preferred cache handler. By default, Eseye will use the
// FileCache.
$configuration = Configuration::getInstance();
$configuration->cache = NullCache::class;
//Setup the esi authentication container
$config = config('esi');
//Get the refresh token from the database
$token = EsiToken::where(['character_id' => $charId])->get(['refresh_token']);
$authentication = new EsiAuthentication([

View File

@@ -49,6 +49,12 @@ class Kernel extends ConsoleKernel
$schedule->command('services:PiTransactions')
->hourly()
->withoutOverlapping();
$schedule->command('services:GetStructures')
->daily()
->withoutOverlapping();
$schedule->command('services:GetAsses')
->hourly()
->withoutOverlapping();
$schedule->command('services:CleanData')
->monthlyOn(1, '18:00');