Skip to content

Commit 7197b9e

Browse files
authored
Merge pull request #53 from kouzoukian/upenha-patch-1
fix(constants): correct cron expressions and doc typos
2 parents 105aeeb + e3baf3a commit 7197b9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/schedule.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ enum Days {
22
SUNDAY = 0,
33
MONDAY = 1,
44
TUESDAY = 2,
5-
WEDNESAY = 3,
5+
WEDNESDAY = 3,
66
THURSDAY = 4,
77
FRIDAY = 5,
88
SATURDAY = 6
@@ -74,7 +74,7 @@ const FunctionExpressions = {
7474
* Run the task every S seconds
7575
* @param {number} seconds
7676
*/
77-
everySenconds(seconds = 1) { return `*/${seconds} * * * * *` },
77+
everySeconds(seconds = 1) { return `*/${seconds} * * * * *` },
7878
/**
7979
* Run the task every M minutes
8080
* @param {number} minutes
@@ -152,7 +152,7 @@ const FunctionExpressions = {
152152
everyWeekday() { return ConstantExpressions.EVERY_WEEKDAY },
153153
/**
154154
* Run the task on saturday and sunday at 00:00
155-
* Alias: EVERY_WEEKDAY
155+
* Alias: EVERY_WEEKEND
156156
*/
157157
everyWeekend() { return ConstantExpressions.EVERY_WEEKEND },
158158
/**

0 commit comments

Comments
 (0)