Commit 66de4bc5 by Евгений

Добавл расчеты баллов

1 parent 511a09a8
...@@ -46,7 +46,7 @@ class CampaignsCheckChange extends Command ...@@ -46,7 +46,7 @@ class CampaignsCheckChange extends Command
$factory = APIRequest::getInstance(API::YANDEX); $factory = APIRequest::getInstance(API::YANDEX);
$factory->setToken($token_main); $factory->setToken($token_main);
$factory->getRequest('Changes', 'checkCampaigns') $factory->getRequest('Change', 'checkCampaigns')
->call(); ->call();
} }
...@@ -57,7 +57,7 @@ class CampaignsCheckChange extends Command ...@@ -57,7 +57,7 @@ class CampaignsCheckChange extends Command
$factory = APIRequest::getInstance(API::YANDEX); $factory = APIRequest::getInstance(API::YANDEX);
$factory->setToken($token); $factory->setToken($token);
$factory->getRequest('Changes', 'checkCampaigns') $factory->getRequest('Change', 'checkCampaigns')
->call(); ->call();
} }
......
...@@ -39,12 +39,12 @@ class Kernel extends ConsoleKernel ...@@ -39,12 +39,12 @@ class Kernel extends ConsoleKernel
$schedule->command(DictionariesLoad::class)->saturdays()->at('05:00'); $schedule->command(DictionariesLoad::class)->saturdays()->at('05:00');
$schedule->command(CampaignsCheckChange::class)->hourlyAt(5); $schedule->command(CampaignsCheckChange::class)->hourlyAt(5);
$schedule->command(CampaignsLoadUpdated::class)->hourlyAt(15); $schedule->command(CampaignsLoadUpdated::class)->hourlyAt(15);
$schedule->command(CampaignsAdd::class)->hourlyAt(20);
$schedule->command(CampaignsUpdate::class)->hourlyAt(20); $schedule->command(CampaignsUpdate::class)->hourlyAt(20);
$schedule->command(CampaignsResume::class)->hourlyAt(25); $schedule->command(CampaignsResume::class)->hourlyAt(20);
$schedule->command(CampaignsSuspend::class)->hourlyAt(30); $schedule->command(CampaignsSuspend::class)->hourlyAt(20);
$schedule->command(CampaignsLoadUpdatedChildrenAdGroups::class)->hourlyAt(35); $schedule->command(CampaignsLoadUpdatedChildrenAdGroups::class)->hourlyAt(35);
$schedule->command(CampaignsLoadGroups::class)->hourlyAt(40); $schedule->command(CampaignsLoadGroups::class)->hourlyAt(40);
$schedule->command(CampaignsAdd::class)->hourlyAt(45);
$schedule->command(AdGroupsLoadUpdated::class)->hourlyAt(50); $schedule->command(AdGroupsLoadUpdated::class)->hourlyAt(50);
} }
......
...@@ -4,4 +4,3 @@ php artisan queue:work --queue=api & ...@@ -4,4 +4,3 @@ php artisan queue:work --queue=api &
php artisan queue:work --queue=api & php artisan queue:work --queue=api &
php artisan queue:work --queue=api & php artisan queue:work --queue=api &
php artisan queue:work --queue=api & php artisan queue:work --queue=api &
php artisan schedule:work &
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!