Skip to content

Commit 9086a00

Browse files
committed
Backup
1 parent e40c234 commit 9086a00

25 files changed

+1157
-1
lines changed

app/Console/Kernel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class Kernel extends ConsoleKernel
2525
protected function schedule(Schedule $schedule)
2626
{
2727
// $schedule->command('inspire')->hourly();
28+
$schedule->command('backup:clean')->daily()->at('01:00');
29+
$schedule->command('backup:run')->daily()->at('02:00');
2830
}
2931

3032
/**

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"laravel/framework": "^7.0",
1616
"laravel/tinker": "^2.0",
1717
"marcin-orlowski/laravel-api-response-builder": "^7.1",
18+
"spatie/laravel-backup": "^6.9",
1819
"tymon/jwt-auth": "^1.0"
1920
},
2021
"require-dev": {

composer.lock

Lines changed: 188 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)