Commit 419b63c6 by Евгений

поправил расписание

1 parent d02157be
...@@ -56,6 +56,12 @@ class CampaignsLoadUpdated extends Command ...@@ -56,6 +56,12 @@ class CampaignsLoadUpdated extends Command
'ids' => $campaigns->pluck('external_id')->toArray(), 'ids' => $campaigns->pluck('external_id')->toArray(),
]); ]);
$request = new GetBidModifiers();
$request->setToken($token)
->call([
'CampaignIds' => $campaigns->pluck('external_id')->toArray(),
]);
} }
$tokens = Tokens::has('dictionaryCampaignsEnabledForExternalSynchronizedUpdatedSelf') $tokens = Tokens::has('dictionaryCampaignsEnabledForExternalSynchronizedUpdatedSelf')
...@@ -73,12 +79,6 @@ class CampaignsLoadUpdated extends Command ...@@ -73,12 +79,6 @@ class CampaignsLoadUpdated extends Command
->call([ ->call([
'ids' => $ids, 'ids' => $ids,
]); ]);
$request = new GetBidModifiers();
$request->setToken($token)
->call([
'CampaignIds' => $ids,
]);
} }
return 0; return 0;
......
...@@ -76,16 +76,15 @@ class Kernel extends ConsoleKernel ...@@ -76,16 +76,15 @@ class Kernel extends ConsoleKernel
$schedule->command(CampaignsLoadGroups::class)->hourlyAt(20); $schedule->command(CampaignsLoadGroups::class)->hourlyAt(20);
$schedule->command(AdGroupsLoadUpdated::class)->hourlyAt(20); $schedule->command(AdGroupsLoadUpdated::class)->hourlyAt(20);
$schedule->command(AdGroupsLoadKeywords::class)->hourlyAt(30); $schedule->command(AdGroupsLoadKeywords::class)->hourlyAt(30);
$schedule->command(AdExtensionsLoad::class)->hourlyAt(20);
$schedule->command(SitelinksLoad::class)->hourlyAt(20);
$schedule->command(VCardsAdd::class)->hourlyAt(25); $schedule->command(VCardsAdd::class)->hourlyAt(35);
$schedule->command(AdExtensionsLoad::class)->hourlyAt(25); $schedule->command(AdExtensionsAdd::class)->hourlyAt(35);
$schedule->command(AdExtensionsAdd::class)->hourlyAt(30); $schedule->command(SitelinksAdd::class)->hourlyAt(35);
$schedule->command(SitelinksLoad::class)->hourlyAt(25); $schedule->command(AdGroupsAdd::class)->hourlyAt(35);
$schedule->command(SitelinksAdd::class)->hourlyAt(30); $schedule->command(AdGroupsUpdate::class)->hourlyAt(35);
$schedule->command(AdGroupsAdd::class)->hourlyAt(30);
$schedule->command(AdGroupsUpdate::class)->hourlyAt(30);
$schedule->command(BidModifiersAdd::class)->hourlyAt(35); $schedule->command(BidModifiersAdd::class)->hourlyAt(35);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!