Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 335b71d6
authored
Jul 12, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.veeble.ru/pismenov/yourroomads
2 parents
2900b73c
419b63c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
app/Console/Commands/BidModifiersAdd.php
app/Console/Commands/CampaignsLoadUpdated.php
app/Console/Kernel.php
app/Console/Commands/BidModifiersAdd.php
View file @
335b71d
...
...
@@ -17,7 +17,7 @@ class BidModifiersAdd extends Command
*
* @var string
*/
protected
$signature
=
'
d
idModifiers:add'
;
protected
$signature
=
'
b
idModifiers:add'
;
/**
* The console command description.
...
...
app/Console/Commands/CampaignsLoadUpdated.php
View file @
335b71d
...
...
@@ -56,6 +56,12 @@ class CampaignsLoadUpdated extends Command
'ids'
=>
$campaigns
->
pluck
(
'external_id'
)
->
toArray
(),
]);
$request
=
new
GetBidModifiers
();
$request
->
setToken
(
$token
)
->
call
([
'CampaignIds'
=>
$campaigns
->
pluck
(
'external_id'
)
->
toArray
(),
]);
}
$tokens
=
Tokens
::
has
(
'dictionaryCampaignsEnabledForExternalSynchronizedUpdatedSelf'
)
...
...
@@ -73,12 +79,6 @@ class CampaignsLoadUpdated extends Command
->
call
([
'ids'
=>
$ids
,
]);
$request
=
new
GetBidModifiers
();
$request
->
setToken
(
$token
)
->
call
([
'CampaignIds'
=>
$ids
,
]);
}
return
0
;
...
...
app/Console/Kernel.php
View file @
335b71d
...
...
@@ -81,16 +81,15 @@ class Kernel extends ConsoleKernel
$schedule
->
command
(
CampaignsLoadGroups
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
AdGroupsLoadUpdated
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
AdGroupsLoadKeywords
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
AdExtensionsLoad
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
SitelinksLoad
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
VCardsAdd
::
class
)
->
hourlyAt
(
2
5
);
$schedule
->
command
(
AdExtensions
Load
::
class
)
->
hourlyAt
(
2
5
);
$schedule
->
command
(
AdExtensionsAdd
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
VCardsAdd
::
class
)
->
hourlyAt
(
3
5
);
$schedule
->
command
(
AdExtensions
Add
::
class
)
->
hourlyAt
(
3
5
);
$schedule
->
command
(
SitelinksAdd
::
class
)
->
hourlyAt
(
35
);
$schedule
->
command
(
SitelinksLoad
::
class
)
->
hourlyAt
(
25
);
$schedule
->
command
(
SitelinksAdd
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
AdGroupsAdd
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
AdGroupsUpdate
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
AdGroupsAdd
::
class
)
->
hourlyAt
(
35
);
$schedule
->
command
(
AdGroupsUpdate
::
class
)
->
hourlyAt
(
35
);
$schedule
->
command
(
BidModifiersAdd
::
class
)
->
hourlyAt
(
35
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment