Skip to content
Permalink
Browse files

Change Job Times

  • Loading branch information...
Insax committed Apr 30, 2018
1 parent 0a476a4 commit 95640756ef461bcd0e9f13052128ded134e11858
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/Console/Kernel.php
  2. +2 −2 app/Http/Controllers/StaticsController.php
  3. +1 −1 app/Jobs/ConvertVideo.php
@@ -43,7 +43,7 @@ protected function schedule(Schedule $schedule)
DB::table('data')->where('guid', '=', $e->guid)->delete();
}
}
})->daily();
})->twiceDaily(1, 13);
}
/**
* Register the Closure based commands for the application
@@ -18,9 +18,9 @@ public function index()
public function error(Request $request)
{
if ($request->input('type') === 'vid') {
return view('errors.errorVid');
return view('error.errorVid');
} elseif ($request->input('type') === 'yt') {
return view('errors.errorYT');
return view('error.errorYT');
} else {
Redirect::route('index');
}
@@ -220,7 +220,7 @@ private function getBitrate($audioBitrate)
$bitrate = ($this->limit * 8000) / (float) $this->duration;
! $this->sound ?: $bitrate -= $audioBitrate;
!$this->sound ? : $bitrate -= $audioBitrate;
return $bitrate;
}

0 comments on commit 9564075

Please sign in to comment.
You can’t perform that action at this time.