@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_BINARY }} {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1

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

{{ __('Warning:') }} {{ __('These queue worker commands should be run in supervisor on a VPS, not added to regular cron jobs. They are meant to run continuously as daemon processes.') }}

{{ PHP_BINARY }} {{ base_path() }}/artisan queue:work

{{ __('Note:') }} {{ __('This command uses the same PHP binary that your web application is running on.') }}

@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