Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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
Source by laravel-tricks.com #
 
PREVIOUS NEXT
Tagged: #laravel #cron #job #shared #hosting
ADD COMMENT
Topic
Name
7+6 =