Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "uuid-cron", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -12,3 +12,3 @@ # uuid-cron | ||
```javascript | ||
const { init, uuidv4CronLimited } = require('uuid-cron'); | ||
const { init, uuidv4CronLimited, stop } = require('uuid-cron'); | ||
// run cron job every 20 seconds with 30 random uuids each time. | ||
@@ -24,1 +24,6 @@ // for the first param, read for more details: https://www.npmjs.com/package/human-to-cron | ||
4. **stop the cron job on finish** | ||
```javascript | ||
stop(); | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3891
28