Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_backend
Commits
07e80ab2
Commit
07e80ab2
authored
Aug 14, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prueba command conversion 1
parent
aad5cadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/Command/BackendPrepararVideoCommand.php
src/Command/BackendPrepararVideoCommand.php
+6
-6
No files found.
src/Command/BackendPrepararVideoCommand.php
View file @
07e80ab2
...
...
@@ -46,11 +46,11 @@ class BackendPrepararVideoCommand extends Command {
$inicio
=
time
();
$fin
=
$inicio
+
(
$executionTime
*
60
)
-
(
$executionClientTimeout
*
60
);
$io
->
warning
(
'El comando inicio en la fecha y hora: '
.
date
(
'd/m/Y H:i:s'
,
$inicio
));
$io
->
warning
(
'El comando debe terminar antes de la fecha y hora: '
.
date
(
'd/m/Y H:i:s'
,
$fin
));
$log
->
debug
(
'El comando inicio en la fecha y hora: '
.
date
(
'd/m/Y H:i:s'
,
$inicio
));
$log
->
debug
(
'El comando debe terminar antes de la fecha y hora: '
.
date
(
'd/m/Y H:i:s'
,
$fin
));
while
(
$inicio
<
$fin
)
{
//
$io->warning('El comando inicio en la fecha y hora: ' . date('d/m/Y H:i:s', $inicio));
//
$io->warning('El comando debe terminar antes de la fecha y hora: ' . date('d/m/Y H:i:s', $fin));
//
$log->debug('El comando inicio en la fecha y hora: ' . date('d/m/Y H:i:s', $inicio));
//
$log->debug('El comando debe terminar antes de la fecha y hora: ' . date('d/m/Y H:i:s', $fin));
//
while ($inicio < $fin) {
//ruta de prueba con archivo mp4
$servidor
=
"/opt/sdp/hitsahora/www/web/uploads/contenidos/6/video/2016/42/video_92040.mp4"
;
$io
->
success
(
"Procesando Video...."
);
...
...
@@ -75,7 +75,7 @@ class BackendPrepararVideoCommand extends Command {
}
$inicio
=
time
();
}
//
}
$log
->
debug
(
"Finalizando ejecucion de command BackendPrepararVideoCommand ... "
);
$io
->
success
(
'COMANDO PREPARACION VIDEOS EJECUTADO'
);
}
...
...
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