Skip to content

Commit f0f14ad

Browse files
committed
add Turn ON-OFF section into README
1 parent 169ad00 commit f0f14ad

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Usage
1414
- [Visit Monitoring](#visit-monitoring)
1515
- [Delete Visit Monitoring Records By Specific Days](#delete-visit-monitoring-records-by-specific-days)
16+
- [Turn ON-OFF](#turn-on-off)
1617
- [Action Monitoring](#action-monitoring)
1718
- [Authentication Monitoring](#authentication-monitoring)
1819
- [Contributors](#contributors)
@@ -125,6 +126,24 @@ First, you need go to `user-monitoring` config file and highlighting the days th
125126

126127
After, you need to use [Task Scheduling](https://laravel.com/docs/10.x/scheduling) to fire related command, so go to `app/Console/Kernel.php` and do like this:
127128

129+
<a name="turn-on-off"></a>
130+
### Turn ON-OFF
131+
132+
Maybe you want to turn off visit monitoring for somedays or always, you can use configuration to turn off:
133+
134+
```php
135+
'visit_monitoring' => [
136+
...
137+
138+
/*
139+
* If you want to disable visit monitoring, you can change it to false.
140+
*/
141+
'turn_on' => true,
142+
143+
...
144+
]
145+
```
146+
128147
```php
129148
<?php
130149

0 commit comments

Comments
 (0)