Skip to content

Commit d28aa7e

Browse files
committed
chore: description and readme
1 parent dc59629 commit d28aa7e

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "friendly-node-cron",
33
"version": "1.2.0",
4-
"description": "",
4+
"description": "Friendlier, human readable expressions for node-cron",
55
"main": "index.js",
66
"repository": {
77
"type": "git",

readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Friendly Node Cron
22

3+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
4+
5+
![publish](https://github.com/FreaKzero/friendly-node-cron/actions/workflows/publish.yml/badge.svg)
6+
7+
Friendlier, human readable expressions for node-cron
38
Inspired by https://github.com/jkriss/friendly-cron
49

510
How to install:
@@ -62,7 +67,7 @@ You can also use the expression `from <num> through <num>` to define a day inter
6267

6368
### Tokens
6469

65-
`jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec`
70+
`jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec`
6671
`from <num> through <num>`
6772

6873
Examples:
@@ -91,8 +96,8 @@ Be sure when you want to use intervals that you dont use the _at_ token in your
9196

9297
### Tokens:
9398

94-
`second, minute, hour, day, month`
95-
Examples:
99+
`second, minute, hour, day, month`
100+
Examples:
96101

97102
```
98103
on Saturdays every 15 minutes

test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,10 @@ test(
5454
'0 0 */2 15-25 3,4 *'
5555
);
5656

57-
58-
5957
//test('every week in 15 minute intervals on january', '0 */15 * */7 1 *');
6058
//test('every week on january', '0 0 0 */7 1 *');
6159

6260
if (process.env.TESTWATCH) {
6361
process.stdout.write('\u001b[3J\u001b[2J\u001b[1J');
6462
console.clear();
6563
}
66-

0 commit comments

Comments
 (0)