Laravel Advanced - Task Scheduling - CRON Job
Laratips
0:00 / 0:00
Laravel Advanced - Task Scheduling - CRON Job
69 747 просмотров · 5 л. назад
Laratips
18,3 тыс. подписчиков
69 747 просмотров · 5 л. назад
In this video, we will be looking at task scheduling in Laravel and how to set it up on Shared and Dedicated Hosting. Laravel makes it very easy to use cron-job via Task Scheduling feature.
=== OFFER ===
GET 30% DISCOUNT ON ALL PLANS OF CLOUDWAYS HOSTING FOR 3 MONTHS
https://unified.cloudways.com/signup?...
=== Important Links ===
Fonts, extensions I use, and Support Laratips links:
https://bit.ly/m/laratips
From the Laravel's Official Documentation:
Laravel's command scheduler offers a fresh approach to managing scheduled tasks on your server. The scheduler allows you to fluently and expressively define your command schedule within your Laravel application itself. When using the scheduler, only a single cron entry is needed on your server. Your task schedule is defined in the app/Console/Kernel.php file's schedule method. To help you get started, a simple example is defined within the method.
00:00 Introduction
00:51 How to Use Task Scheduling?
01:55 Running the task scheduler locally
02:56 Executing artisan command
04:52 Schedule Frequency Options
05:58 Preventing Task Overlaps
09:02 Running Tasks On One Server
09:32 Background Tasks
11:53 Maintainance Mode
12:11 Adding Scheduler In Shared Hosting
14:17 Adding Scheduler In Dedicated/Virtual Hosting
Laravel Documentation Link:
https://laravel.com/docs/8.x/scheduling
Tech stack:
Laravel
PHP
#laravel #php #laraveltip #laratips