feat(#36): add Mail notification on Low Battery

This commit is contained in:
Benjamin Nussbaum 2025-06-18 00:10:29 +02:00
parent 1122764333
commit 33e1f99fad
11 changed files with 375 additions and 0 deletions

View file

@ -3,6 +3,7 @@
use App\Jobs\CleanupDeviceLogsJob;
use App\Jobs\FetchProxyCloudResponses;
use App\Jobs\FirmwarePollJob;
use App\Jobs\NotifyDeviceBatteryLowJob;
use Illuminate\Support\Facades\Schedule;
Schedule::job(FetchProxyCloudResponses::class, [])->cron(
@ -12,3 +13,4 @@ Schedule::job(FetchProxyCloudResponses::class, [])->cron(
Schedule::job(FirmwarePollJob::class)->daily();
Schedule::job(CleanupDeviceLogsJob::class)->daily();
Schedule::job(NotifyDeviceBatteryLowJob::class)->dailyAt('10:00');