From d0d9faf131e40fa4d61cae03ad9cbbbf5ed82a1f Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Mon, 21 Aug 2017 23:00:30 -0400 Subject: [PATCH] Install node cron To manage LONG term animation jobs --- package-lock.json | 19 +++++++++++++++++-- package.json | 1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 483fa2e..b93b75d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,6 +85,14 @@ "version": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "cron": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/cron/-/cron-1.2.1.tgz", + "integrity": "sha1-OobAm0G48mGshjp8yF6kc1hX6rI=", + "requires": { + "moment-timezone": "0.5.13" + } + }, "csv": { "version": "https://registry.npmjs.org/csv/-/csv-1.1.1.tgz", "integrity": "sha1-2ZUtWbH5ZKevvN2ATWgYpzGZpHc=", @@ -337,8 +345,15 @@ }, "moment": { "version": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz", - "integrity": "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8=", - "optional": true + "integrity": "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8=" + }, + "moment-timezone": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.13.tgz", + "integrity": "sha1-mc5cfYJyYusPH3AgRBd/YHRde5A=", + "requires": { + "moment": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz" + } }, "ms": { "version": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", diff --git a/package.json b/package.json index bb3a56f..8b065f7 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "homepage": "https://github.com/sixteenmillimeter/intval3#readme", "dependencies": { "bleno": "^0.4.2", + "cron": "^1.2.1", "gpio": "^0.2.7", "node-ipc": "^9.1.0", "restify": "^5.2.0",