Skip to content

Commit bea2c21

Browse files
committed
Add scheduled command for sending reminders twice daily
1 parent 66658ee commit bea2c21

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

routes/console.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
use Illuminate\Support\Facades\Schedule;
4+
5+
Schedule::command('reminder:send')
6+
->timezone(config('app.timezone'))
7+
->twiceDaily(9, 15);

0 commit comments

Comments
 (0)