created a new job

This commit is contained in:
2020-08-12 03:43:50 -05:00
parent 978a028553
commit 12b6f8b98c
2 changed files with 44 additions and 3 deletions
@@ -9,6 +9,9 @@ use Log;
use Commands\Library\CommandHelper;
use App\Library\Moons\MoonCalc;
//Job
use App\Jobs\Eve\ItemPricesUpdateJob;
class ItemPricesUpdateCommand extends Command
{
/**
@@ -45,9 +48,7 @@ class ItemPricesUpdateCommand extends Command
$task = new CommandHelper('ItemPriceUpdate');
$task->SetStartStatus();
$moonHelper = new MoonCalc;
$moonHelper->FetchNewPrices();
ItemPricesUpdateJob::dispatch();
$task->SetStopStatus();
}