laravel cron job hpanel hostinger

Solutions on MaxInterview for laravel cron job hpanel hostinger by the best coders in the world

showing results for - "laravel cron job hpanel hostinger"
Livia
19 Jul 2018
1//This is for Laravel in Hostinger hpanel
2//Make a bash file add only this only:
3
4#!/bin/sh
5/usr/bin/php /home/uXXXXXXX/domains/dOmAiN.cOm/artisan schedule:run >> /dev/null 2>&1 
6  
7//Watch this tutorial but make sure the commands are the same for cpanel, 
8//https://www.youtube.com/watch?v=7SQrORQ7k-A
9//https://stackoverflow.com/a/59375980/12809667
10//no need for the chmod part
11  
12ALSO:
13	//DON'T RUN WITH MODELS, USE DB::TABLE()
14