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

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


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

{{ __("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:work --max-time=110
/usr/bin/php {{ base_path() }}/artisan queue:work --max-time=110
/usr/local/bin/php {{ base_path() }}/artisan queue:work --max-time=110

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


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


{{ __("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 ?? '' }}