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
ffd4b302
Commit
ffd4b302
authored
Mar 26, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
đổi tên class
parent
09338dae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
CrawlerTrackImageCommand.php
app/Console/Commands/CrawlerTrackImageCommand.php
+3
-3
Kernel.php
app/Console/Kernel.php
+3
-3
No files found.
app/Console/Commands/
Zing/Zing
CrawlerTrackImageCommand.php
→
app/Console/Commands/CrawlerTrackImageCommand.php
View file @
ffd4b302
<?php
<?php
namespace
App\Console\Commands
\Zing
;
namespace
App\Console\Commands
;
use
App\Helpers\Constants
;
use
App\Helpers\Constants
;
use
App\Models\Crontjob
;
use
App\Models\Crontjob
;
...
@@ -9,14 +9,14 @@ use App\Repositories\TrackRepository;
...
@@ -9,14 +9,14 @@ use App\Repositories\TrackRepository;
use
Carbon\Carbon
;
use
Carbon\Carbon
;
use
Illuminate\Console\Command
;
use
Illuminate\Console\Command
;
class
Zing
CrawlerTrackImageCommand
extends
Command
class
CrawlerTrackImageCommand
extends
Command
{
{
/**
/**
* The name and signature of the console command.
* The name and signature of the console command.
*
*
* @var string
* @var string
*/
*/
protected
$signature
=
'
zing
:get-track-image'
;
protected
$signature
=
'
crawler
:get-track-image'
;
/**
/**
* The console command description.
* The console command description.
...
...
app/Console/Kernel.php
View file @
ffd4b302
...
@@ -6,7 +6,7 @@ use App\Console\Commands\CrontjobCommand;
...
@@ -6,7 +6,7 @@ use App\Console\Commands\CrontjobCommand;
use
App\Console\Commands\Nct\NctCrawlerTrackCommand
;
use
App\Console\Commands\Nct\NctCrawlerTrackCommand
;
use
App\Console\Commands\Zing\ZingCrawlerNewRealeaseCommand
;
use
App\Console\Commands\Zing\ZingCrawlerNewRealeaseCommand
;
use
App\Console\Commands\Zing\ZingCrawlerTrackCommand
;
use
App\Console\Commands\Zing\ZingCrawlerTrackCommand
;
use
App\Console\Commands\
Zing\Zing
CrawlerTrackImageCommand
;
use
App\Console\Commands\CrawlerTrackImageCommand
;
use
Illuminate\Console\Scheduling\Schedule
;
use
Illuminate\Console\Scheduling\Schedule
;
use
Illuminate\Foundation\Console\Kernel
as
ConsoleKernel
;
use
Illuminate\Foundation\Console\Kernel
as
ConsoleKernel
;
...
@@ -21,7 +21,7 @@ class Kernel extends ConsoleKernel
...
@@ -21,7 +21,7 @@ class Kernel extends ConsoleKernel
CrontjobCommand
::
class
,
CrontjobCommand
::
class
,
ZingCrawlerTrackCommand
::
class
,
ZingCrawlerTrackCommand
::
class
,
ZingCrawlerNewRealeaseCommand
::
class
,
ZingCrawlerNewRealeaseCommand
::
class
,
Zing
CrawlerTrackImageCommand
::
class
,
CrawlerTrackImageCommand
::
class
,
NctCrawlerTrackCommand
::
class
,
NctCrawlerTrackCommand
::
class
,
...
@@ -42,7 +42,7 @@ class Kernel extends ConsoleKernel
...
@@ -42,7 +42,7 @@ class Kernel extends ConsoleKernel
$schedule
->
command
(
'zing:get-track'
)
->
everyThirtyMinutes
();
$schedule
->
command
(
'zing:get-track'
)
->
everyThirtyMinutes
();
$schedule
->
command
(
'zing:get-new-release-track'
)
->
hourlyAt
(
10
);
$schedule
->
command
(
'zing:get-new-release-track'
)
->
hourlyAt
(
10
);
$schedule
->
command
(
'
zing
:get-track-image'
)
->
hourlyAt
(
15
);
$schedule
->
command
(
'
crawler
:get-track-image'
)
->
hourlyAt
(
15
);
$schedule
->
command
(
'queue:work --once --timeout=120'
)
->
everyMinute
()
->
withoutOverlapping
();
$schedule
->
command
(
'queue:work --once --timeout=120'
)
->
everyMinute
()
->
withoutOverlapping
();
}
}
...
...
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