From 8cffae079b925f689eb1a7266587a2c54e9eacf2 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Tue, 28 Feb 2023 14:46:04 +0800 Subject: [PATCH] test approve invoice --- app/Console/Kernel.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 0d27c63d..459f0fb6 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -47,6 +47,11 @@ class Kernel extends ConsoleKernel ->hourly() ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/auto_generate_invoice.log'); + + $schedule->command('approve:invoice') + ->hourly() + ->withoutOverlapping() + ->appendOutputTo (storage_path().'/logs/approve_invoice.log'); } /**