Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crawler.vmusicchart.vn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
crawler.vmusicchart.vn
Commits
27d124e8
Commit
27d124e8
authored
Apr 17, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thay đổi thời gian lấy nhạc sĩ ở zing
parent
91b7bcc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
UpdateTrackArtistCommand.php
app/Console/Commands/Update/UpdateTrackArtistCommand.php
+1
-1
Kernel.php
app/Console/Kernel.php
+3
-1
No files found.
app/Console/Commands/Update/UpdateTrackArtistCommand.php
View file @
27d124e8
...
...
@@ -125,7 +125,7 @@ class UpdateTrackArtistCommand extends Command
->
whereNotNull
(
'id_zing'
)
->
where
(
'id_zing'
,
'<>'
,
''
)
->
whereNull
(
'composer_list'
)
->
take
(
5
0
)
->
take
(
1
0
)
->
get
();
if
(
$array_zing_track
)
{
...
...
app/Console/Kernel.php
View file @
27d124e8
...
...
@@ -69,7 +69,9 @@ class Kernel extends ConsoleKernel
$schedule
->
command
(
'crawler:get-track-image'
)
->
dailyAt
(
'13:40'
);
// Cập nhật thông tin ca sĩ, nhạc sĩ sau 21h
$schedule
->
command
(
'track:update-artist zing'
)
->
dailyAt
(
'21:05'
);
//$schedule->command('track:update-artist zing')->dailyAt('21:05');
$schedule
->
command
(
'track:update-artist zing'
)
->
twiceDaily
(
12
,
14
);
$schedule
->
command
(
'track:update-artist zing'
)
->
dailyAt
(
'20:10'
);
$schedule
->
command
(
'track:update-artist keeng'
)
->
dailyAt
(
'21:10'
);
$schedule
->
command
(
'track:update-artist nct'
)
->
dailyAt
(
'21:15'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment