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 d048b0ba
authored
Dec 20, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
1 parent
660327b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
app/Console/Commands/DictionaryCampaignsSyncByCampaign.php
app/Console/Kernel.php
app/Console/Commands/DictionaryCampaignsSyncByCampaign.php
View file @
d048b0b
...
...
@@ -197,8 +197,7 @@ class DictionaryCampaignsSyncByCampaign extends Command
// SET gad.goal_v_card_id = gvc.id,
// gad.goal_v_card_external_id = gvc.external_id,
// gad.goal_sitelink_id = gs.id,
// gad.goal_sitelink_external_id = gs.external_id,
// gad.updated_at = CURRENT_TIMESTAMP
// gad.goal_sitelink_external_id = gs.external_id
//
// WHERE (
// (
...
...
@@ -236,8 +235,7 @@ class DictionaryCampaignsSyncByCampaign extends Command
gad.goal_v_card_external_id = gvc.external_id,
gad.goal_sitelink_id = gs.id,
gad.goal_sitelink_external_id = gs.external_id,
gad.updated_need = CURRENT_TIMESTAMP,
gad.updated_at = CURRENT_TIMESTAMP
gad.updated_need = CURRENT_TIMESTAMP
WHERE gad.deleted_at is null and
(
...
...
app/Console/Kernel.php
View file @
d048b0b
...
...
@@ -52,6 +52,7 @@ use App\Console\Commands\VCardsDelete;
use
App\Console\Commands\VCardsLoad
;
use
Illuminate\Console\Scheduling\Schedule
;
use
Illuminate\Foundation\Console\Kernel
as
ConsoleKernel
;
use
Illuminate\Support\Facades\Artisan
;
class
Kernel
extends
ConsoleKernel
{
...
...
@@ -150,6 +151,11 @@ class Kernel extends ConsoleKernel
}
}
})
->
saturdays
()
->
at
(
'00:00'
);
$schedule
->
call
(
function
()
{
Artisan
::
call
(
'queue:flush'
);
})
->
saturdays
()
->
at
(
'00:00'
);
}
/**
...
...
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