This commit is contained in:
2025-09-10 17:54:36 +05:00
parent 673042dd32
commit e64cf34c90
2 changed files with 16 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Console;
use App\Jobs\SendSberToSystem;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -12,7 +13,8 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('backup:run')->saturdays();
$schedule->job(new SendSberToSystem)
->everyMinute();
}
/**