Ad

Laravel Task Scheduling On Shared Hosting

- 1 answer

I have a laravel 5.1 application, and i deployed my work on a shared hosting unix server. My application contains a task schedule (Cron Job). I need to know how to run this task after deploying to the shared server.

Ad

Answer

You should check to see if your shared hosting provider allows you to run cron jobs.

If it does, then you can add a single cron and use the Scheduling feature in Laravel (5.1+).

If not, then you're probably out of luck.

Ad
source: stackoverflow.com
Ad