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 b9d3c4d1
authored
May 28, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19460 Разворачивание инфраструктуры
1 parent
4262fadb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
app/Console/Kernel.php
app/Console/Kernel.php
View file @
b9d3c4d
...
...
@@ -2,7 +2,14 @@
namespace
App\Console
;
use
App\Console\Commands\AdGroupsLoadUpdated
;
use
App\Console\Commands\CampaignsAdd
;
use
App\Console\Commands\CampaignsCheckChange
;
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
;
use
App\Console\Commands\DictionariesLoad
;
use
App\Console\Commands\CampaignsLoadUpdated
;
use
App\Console\Commands\RefreshLimits
;
...
...
@@ -32,6 +39,13 @@ class Kernel extends ConsoleKernel
$schedule
->
command
(
DictionariesLoad
::
class
)
->
saturdays
()
->
at
(
'05:00'
);
$schedule
->
command
(
CampaignsCheckChange
::
class
)
->
hourlyAt
(
5
);
$schedule
->
command
(
CampaignsLoadUpdated
::
class
)
->
hourlyAt
(
15
);
$schedule
->
command
(
CampaignsUpdate
::
class
)
->
hourlyAt
(
20
);
$schedule
->
command
(
CampaignsResume
::
class
)
->
hourlyAt
(
25
);
$schedule
->
command
(
CampaignsSuspend
::
class
)
->
hourlyAt
(
30
);
$schedule
->
command
(
CampaignsLoadUpdatedChildrenAdGroups
::
class
)
->
hourlyAt
(
35
);
$schedule
->
command
(
CampaignsLoadGroups
::
class
)
->
hourlyAt
(
40
);
$schedule
->
command
(
CampaignsAdd
::
class
)
->
hourlyAt
(
45
);
$schedule
->
command
(
AdGroupsLoadUpdated
::
class
)
->
hourlyAt
(
50
);
}
/**
...
...
@@ -41,7 +55,7 @@ class Kernel extends ConsoleKernel
*/
protected
function
commands
()
{
$this
->
load
(
__DIR__
.
'/Commands'
);
$this
->
load
(
__DIR__
.
'/Commands'
);
require
base_path
(
'routes/console.php'
);
}
...
...
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