laravel backup

112

// app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
   $schedule->command('backup:clean')->daily()->at('01:00');
   $schedule->command('backup:run')->daily()->at('01:30');
}
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"

Comments

Submit
0 Comments