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 1650ac0f
authored
Jun 09, 2021
by
Евгений
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Тесты
1 parent
82fa1f1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
app/Console/Commands/CampaignsLoadUpdatedChildrenAdGroups.php → app/Console/Commands/CampaignsCheckUpdatedChildrenAdGroups.php
app/Console/Kernel.php
app/Console/Commands/Campaigns
Load
UpdatedChildrenAdGroups.php
→
app/Console/Commands/Campaigns
Check
UpdatedChildrenAdGroups.php
View file @
1650ac0
...
...
@@ -14,21 +14,21 @@ use Illuminate\Console\Command;
use
Illuminate\Database\Eloquent\Relations\HasManyThrough
;
use
Illuminate\Support\Facades\Bus
;
class
Campaigns
Load
UpdatedChildrenAdGroups
extends
Command
class
Campaigns
Check
UpdatedChildrenAdGroups
extends
Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected
$signature
=
'campaigns:
load
UpdatedChildrenAdGroups'
;
protected
$signature
=
'campaigns:
check
UpdatedChildrenAdGroups'
;
/**
* The console command description.
*
* @var string
*/
protected
$description
=
'
Загрузка измененных РК
'
;
protected
$description
=
'
Проверка наличия изменения в дочерних элементах
'
;
/**
* Create a new command instance.
...
...
app/Console/Kernel.php
View file @
1650ac0
...
...
@@ -7,8 +7,8 @@ use App\Console\Commands\AdGroupsLoadUpdated;
use
App\Console\Commands\AdGroupsUpdate
;
use
App\Console\Commands\CampaignsAdd
;
use
App\Console\Commands\CampaignsCheckChange
;
use
App\Console\Commands\CampaignsCheckUpdatedChildrenAdGroups
;
use
App\Console\Commands\CampaignsLoadGroups
;
use
App\Console\Commands\CampaignsLoadUpdatedChildrenAdGroups
;
use
App\Console\Commands\CampaignsResume
;
use
App\Console\Commands\CampaignsSuspend
;
use
App\Console\Commands\CampaignsUpdate
;
...
...
@@ -40,12 +40,14 @@ class Kernel extends ConsoleKernel
$schedule
->
command
(
RefreshLimits
::
class
)
->
hourly
();
$schedule
->
command
(
DictionariesLoad
::
class
)
->
saturdays
()
->
at
(
'05:00'
);
$schedule
->
command
(
CampaignsCheckChange
::
class
)
->
hourlyAt
(
5
);
$schedule
->
command
(
CampaignsLoadUpdated
::
class
)
->
hourlyAt
(
15
);
$schedule
->
command
(
CampaignsCheckUpdatedChildrenAdGroups
::
class
)
->
hourlyAt
(
10
);
$schedule
->
command
(
CampaignsLoadUpdated
::
class
)
->
hourlyAt
(
10
);
$schedule
->
command
(
CampaignsAdd
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsUpdate
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsResume
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsSuspend
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsLoadUpdatedChildrenAdGroups
::
class
)
->
hourlyAt
(
35
);
$schedule
->
command
(
CampaignsLoadGroups
::
class
)
->
hourlyAt
(
40
);
$schedule
->
command
(
AdGroupsLoadUpdated
::
class
)
->
hourlyAt
(
45
);
$schedule
->
command
(
AdGroupsAdd
::
class
)
->
hourlyAt
(
50
);
...
...
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