Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

database and files backup laravel

// 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');
}
Source by spatie.be #
 
PREVIOUS NEXT
Tagged: #database #files #backup #laravel
ADD COMMENT
Topic
Name
3+1 =