pnscheduler 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +1 -1
package/README.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
Persistent NodeJS Scheduler - A simple job scheduler for Node.js applications, with Postgres-based persistence.
|
4
4
|
|
5
|
+

|
6
|
+

|
7
|
+
|
5
8
|
## Installation
|
6
9
|
|
7
10
|
```bash
|
@@ -103,8 +106,8 @@ console.log(dueJobs);
|
|
103
106
|
### Scheduler Control
|
104
107
|
|
105
108
|
```typescript
|
106
|
-
//
|
107
|
-
scheduler.start(
|
109
|
+
// Adjust check frequency (defaults to 1 second)
|
110
|
+
scheduler.start(30); // check every 30 seconds
|
108
111
|
|
109
112
|
// Stop the scheduler
|
110
113
|
scheduler.stop();
|