Laravel 5 task scheduling with cron job



If you want to execute scheduling jobs in specific time and specific interval then you can apply cron job which is a Unix command.

We can manage a task in the server that executes scripts which helps in sending daily-weekly reports from our website.

The main use of cron job is in cleaningup the databases, sending the emails, executing the time consuming tasks etc. We can simply delete files from the database with the help of Cron Job.

Cron job will only work on unix based machines. It consists of a configuration file called Crontable which is also known as Crontab.

This Cron tab is used to manage the scheduling and consists of different cron jobs and each of the cron job is associated with a specific task.

source

Reply

Do NOT follow this link or you will be banned from the site!