Skip to content

Commit

Permalink
Fixed scheduled command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alimranahmed committed Aug 1, 2023
1 parent f75d674 commit 7feae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected function schedule(Schedule $schedule): void
{
//$schedule->command('get-ip-location')->hourly();

$schedule->command('php artisan backup:run --only-db')->monthly();
$schedule->command('backup:run', ['--only-db'])->monthly();

$schedule->command('sitemap:generate')->weekly();

Expand Down

0 comments on commit 7feae6c

Please sign in to comment.