@section('title', __('CRON Job'))

{{ __('How to setup cron job on your server:') }} https://bit.ly/3DoNGBm


{{ __('Cron job on Server') }}

@production

{{ __('For server cron job setup, copy the text below and paste into your cron job tab on your server') }}

php {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1
/usr/bin/php {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1
/usr/local/bin/php {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1

{{ __('For queued jobs/tasks') }}

{{-- php {{ base_path() }}/artisan queue:listen --max-time=110 --}} php {{ base_path() }}/artisan queue:listen
{{-- /usr/bin/php {{ base_path() }}/artisan queue:listen --max-time=110 --}} /usr/bin/php {{ base_path() }}/artisan queue:listen
{{-- /usr/local/bin/php {{ base_path() }}/artisan queue:listen --max-time=110 --}} /usr/local/bin/php {{ base_path() }}/artisan queue:listen

{{ __('Note:') }} {{ __("You don't have to use all the 3 commands, just use the one with the php path that matches yours.") }}

@endproduction

{{ __('Last Run Time') }}: {{ setting('cronJobLastRun', __('Never')) }}


@production

{{ __('External cron job managers') }}

{{ __('For external cron job managers like') }}(e.g https://cron-job.org). {{ __('Copy the url below:') }}

{{ route('cron.job') }}?key={{ $cronJobKey ?? '' }}
@endproduction