mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
feat(#36): add Mail notification on Low Battery
This commit is contained in:
parent
1122764333
commit
2f8d989147
11 changed files with 375 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue