@extends('backend.layouts.main') @section('title') {{ __('Maintenance') }} @endsection @section('content')
{{ __('Enable maintenance mode when you are upgrading the application, installing add-ons or doing other service tasks. All users except for administrators will not be able to use the website.') }}
@if(!app()->isDownForMaintenance()){{ __('Maintenance mode is currently disabled.') }}
@else{{ __('Maintenance mode is currently enabled.') }}
@endif{{ __('Application templates, config files, translation strings are cached. It is necessary to clear cache when making any changes to the source code or installing upgrades.') }}
{{ __('When upgrading to a new version of the application it is essentially to run database updates.') }}
{{ __('The app provides a number of commands, which can be executed to perform certain actions.') }}
{{ __('Certain tasks should run on a regular basis. In order for the application to execute them automatically you should add the following system cron job:') }}
* * * * * {{ PHP_BINDIR . DIRECTORY_SEPARATOR }}php -d register_argc_argv=On {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1
{{ __('Please note that the command-line PHP version on your server should also meet the PHP version requirements, otherwise the cron job will fail to execute.') }} {{ __('On some servers with multi-PHP versions support you might need to explicitly specify the path to the proper version of PHP.') }}
{{ __('Application log file size is :n MB.', ['n' => sprintf('%.2f', $log_size)]) }}
{{ __('View') }} {{ __('Download') }} @else{{ __('No application log file found.') }}
@endif