Skip to content

Commit b68d3d0

Browse files
authored
Merge pull request #311 from malonehedges/patch-1
docs: Fix typos
2 parents 276cbe5 + d6abf4c commit b68d3d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/plugins/cron.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ import { Elysia } from 'elysia'
148148
import { cron, Patterns } from '@elysiajs/cron'
149149

150150
const app = new Elysia()
151-
use(
151+
.use(
152152
cron({
153153
name: 'heartbeat',
154154
pattern: Patterns.everySecond(),
@@ -170,7 +170,7 @@ const app = new Elysia()
170170
171171
Function | Description
172172
------------- | -------------
173-
`.everySenconds(2)` | Run the task every 2 seconds
173+
`.everySeconds(2)` | Run the task every 2 seconds
174174
`.everyMinutes(5)` | Run the task every 5 minutes
175175
`.everyHours(3)` | Run the task every 3 hours
176176
`.everyHoursAt(3, 15)` | Run the task every 3 hours at 15 minutes
@@ -255,4 +255,4 @@ Function | Constant
255255
`.EVERY_YEAR` | `0 0 1 1 *`
256256
`.EVERY_30_MINUTES_BETWEEN_9AM_AND_5PM` | `0 */30 9-17 * * *`
257257
`.EVERY_30_MINUTES_BETWEEN_9AM_AND_6PM` | `0 */30 9-18 * * *`
258-
`.EVERY_30_MINUTES_BETWEEN_10AM_AND_7PM` | `0 */30 10-19 * * *`
258+
`.EVERY_30_MINUTES_BETWEEN_10AM_AND_7PM` | `0 */30 10-19 * * *`

0 commit comments

Comments
 (0)