laravel scheduler every day code example
Example 1: laravel scheduler every 2 hours
// App\Console\Kernel::schedule()
$schedule->command('command')->cron('0 */2 * * *');
Example 2: cron job for backup in laravel 5.4
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1