structures and assets jobs
This commit is contained in:
@@ -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([
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user