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

Happy New Year!

40% DISCOUNT ON OUR ENTIRE STORE
COUPON CODE : Hello2021
GO TO STORE
LIMITED TIME OFFER
close-link
40% Off on all of LARASHIP platforms, plugins, and themes NO EXCLUSIONS
CODE: Hello2021
close-image