Answers for "laravel cron job hpanel hostinger"

PHP
0

laravel cron job hpanel hostinger

//This is for Laravel in Hostinger hpanel
//Make a bash file add only this only:

#!/bin/sh
/usr/bin/php /home/uXXXXXXX/domains/dOmAiN.cOm/artisan schedule:run >> /dev/null 2>&1 
  
//Watch this tutorial but make sure the commands are the same for cpanel, 
//https://www.youtube.com/watch?v=7SQrORQ7k-A
//https://stackoverflow.com/a/59375980/12809667
//no need for the chmod part
  
ALSO:
	//DON'T RUN WITH MODELS, USE DB::TABLE()
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language