Setting of Auto backup of Mysql database in a laravel project

 When we work on any database project, it’s always good to set up autoback of the database on daily basis. We can set up a cron job for backing up a MySQL database in a Laravel project, follow these steps: 1. Create a Laravel Artisan Command Run the following command to create a custom Artisan command:…

Read More

Cron Job Creation for Windows Server to run a PHP script

Without any manual trigger or interaction, if one wants to run a specific task at the specific time, We can use “Cron Jobs“. In Linux/Unix, they call it as Cron tabs or task. This can be achieved in Linux using crontab functionality. If we use the LAMP, then we can use this cron job/tab to…

Read More