how to realize cron jobs in laravel database interactions code example
Example: cron job for backup in laravel 5.4
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1