Laraship

  1. Home
  2. Docs
  3. Laraship
  4. Installation Instructions
  5. Scheduled Jobs Configuration

Scheduled Jobs Configuration

Laraship uses the standard Laravel Scheduler to run periodic events, events like an email when the subscription expires or when it gets renewed The schedule:run Artisan command will evaluate all of your scheduled tasks and determine if they need to run based on the server’s current time.

So, when using Laravel’s scheduler, we only need to add a single cron configuration entry to our server that runs the command every minute. If you do not know how to add Cron entries to your server:

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

 

for more details about Laravel scheduler, feel free to check Laravel official documentation:

https://laravel.com/docs/8.x/scheduling#running-the-scheduler

LARASHIP MEGA SALE

ON ALL LARASHIP PLATFORMS
GO TO STORE
LIMITED TIME OFFER
close-link
MEGA SALE on all of LARASHIP platforms
SHOP NOW!
close-image