You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,24 +126,6 @@ First, you need go to `user-monitoring` config file and highlighting the days th
126
126
127
127
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:
128
128
129
-
<aname="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
-
147
129
```php
148
130
<?php
149
131
@@ -166,6 +148,24 @@ class Kernel extends ConsoleKernel
166
148
167
149
You can change `hourly` to `minute` or `second`, for more information you can read [Schedule Frequency Options](https://laravel.com/docs/10.x/scheduling#schedule-frequency-options).
168
150
151
+
<aname="turn-on-off"></a>
152
+
### Turn ON-OFF
153
+
154
+
Maybe you want to turn off visit monitoring for somedays or always, you can use configuration to turn off:
155
+
156
+
```php
157
+
'visit_monitoring' => [
158
+
...
159
+
160
+
/*
161
+
* If you want to disable visit monitoring, you can change it to false.
0 commit comments