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
7668b5a3
Commit
7668b5a3
authored
Mar 29, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tạm khóa các task lại để lấy lượt nghe
parent
99981313
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Kernel.php
app/Console/Kernel.php
+7
-7
No files found.
app/Console/Kernel.php
View file @
7668b5a3
...
...
@@ -50,18 +50,18 @@ class Kernel extends ConsoleKernel
*/
protected
function
schedule
(
Schedule
$schedule
)
{
$schedule
->
command
(
'crontjob:test'
)
->
hourly
();
//
$schedule->command('crontjob:test')->hourly();
$schedule
->
command
(
'zing:get-track'
)
->
everyThirtyMinutes
();
$schedule
->
command
(
'zing:get-new-release-track'
)
->
hourlyAt
(
5
);
//
$schedule->command('zing:get-track')->everyThirtyMinutes();
//
$schedule->command('zing:get-new-release-track')->hourlyAt(5);
$schedule
->
command
(
'nct:get-track'
)
->
hourlyAt
(
10
);
//
$schedule->command('nct:get-track')->hourlyAt(10);
$schedule
->
command
(
'nhacvn:get-track'
)
->
hourlyAt
(
15
);
//
$schedule->command('nhacvn:get-track')->hourlyAt(15);
$schedule
->
command
(
'keeng:get-track'
)
->
hourlyAt
(
20
);
//
$schedule->command('keeng:get-track')->hourlyAt(20);
$schedule
->
command
(
'crawler:get-track-image'
)
->
hourlyAt
(
35
);
//
$schedule->command('crawler:get-track-image')->hourlyAt(35);
// 22h bắt đầu quét. Quét 3 lần, lần cuối quét hết
$schedule
->
command
(
'crawler:get-listen keeng'
)
->
dailyAt
(
'22:00'
);
...
...
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