Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel cron job on shared hosting

/**
Make a laravel schedule in normal process and create cronjob like this format

Format:
**/
/usr/local/bin/php /home/hosting_user/public_html/artisan schedule:run >> /dev/null 2>&1

//example:
/usr/local/bin/php /home/harun/public_html/artisan schedule:run >> /dev/null 2>&1

// more details: http://bit.ly/laravel-scheduler
Comment

how to setup cron job for laravel queues on shared hosting

$schedule->command('queue:restart')
    ->everyFiveMinutes();

$schedule->command('queue:work --daemon')
    ->everyMinute()
    ->withoutOverlapping();
Comment

PREVIOUS NEXT
Code Example
Php :: foreach loop laravel 
Php :: hmtl dellete tag php 
Php :: php rsa encryption 
Php :: symfony redirect to previous page 
Php :: sendinblue send mail 
Php :: get count laravel 
Php :: laravel make view command 
Php :: get data in array formate in Laravel 
Php :: clear array php 
Php :: lluminate/contracts[v5.6.0, ..., 5.8.x-dev] require php ^7.1.3 - your php version (8.0.10) does not satisfy that requirement. 
Php :: get taxonomy term meta by id 
Php :: php date object to timestamp 
Php :: drupal 7 hook_form_alter 
Php :: log data into file php 
Php :: laravel ckeditor 
Php :: get country from ip address 
Php :: laravel session 
Php :: image storage storepublicy in laravel 
Php :: carbon subtract two dates 
Php :: set names utf8 
Php :: php date add days 
Php :: alerta con php 
Php :: The `url` supplied for the path (./nova) repository does not exist 
Php :: php checking if array is multidimensional or not 
Php :: clear laravel.log 
Php :: how to install php dependencies 
Php :: laravel collection sum array column 
Php :: php program to find factorial of a number using function 
Php :: define in php 
Php :: laravel eloquent select one column in array 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =