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 a0734f0e
authored
Jun 11, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.veeble.ru/pismenov/yourroomads
2 parents
c2c723c8
d2e72901
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
app/Console/Kernel.php
app/Console/Kernel.php
View file @
a0734f0
...
...
@@ -43,17 +43,21 @@ 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
(
CampaignsCheckUpdatedChildrenAdGroups
::
class
)
->
hourlyAt
(
10
);
$schedule
->
command
(
CampaignsLoadUpdated
::
class
)
->
hourlyAt
(
10
);
$schedule
->
command
(
CampaignsCheckUpdatedChildrenAdGroups
::
class
)
->
hourlyAt
(
10
);
$schedule
->
command
(
CampaignsAdd
::
class
)
->
hourlyAt
(
15
);
$schedule
->
command
(
CampaignsUpdate
::
class
)
->
hourlyAt
(
15
);
$schedule
->
command
(
CampaignsResume
::
class
)
->
hourlyAt
(
15
);
$schedule
->
command
(
CampaignsSuspend
::
class
)
->
hourlyAt
(
15
);
$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
(
AdGroupsLoadUpdated
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
AdGroupsLoadKeywords
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsLoadGroups
::
class
)
->
hourlyAt
(
40
);
//Это разовая загрука групп. В расписании она не нужна, по расипсниаю будем грузить уже только те, в которых были изменения
// через AdGroupsLoadUpdated
// $schedule->command(CampaignsLoadGroups::class)->hourlyAt(40);
$schedule
->
command
(
AdGroupsAdd
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
AdGroupsUpdate
::
class
)
->
hourlyAt
(
30
);
...
...
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