From 279ae0e9feacda4bf617a36bdef50530658c65e4 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 19 May 2023 16:57:10 -0400 Subject: [PATCH] refactor: updated cron job --- index.js | 4 ---- package-lock.json | 5 +---- package.json | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/index.js b/index.js index 96abc08..997796a 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,3 @@ -const schedule = require("node-schedule") console.log("test") -schedule.scheduleJob('*/1 * * * *', () => { - console.log('hello world') -}) diff --git a/package-lock.json b/package-lock.json index ea24dc6..e110e04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,10 +6,7 @@ "packages": { "": { "name": "projectportal-email-service", - "version": "1.0.0", - "dependencies": { - "node-schedule": "^2.1.1" - } + "version": "1.0.0" }, "node_modules/cron-parser": { "version": "4.8.1", diff --git a/package.json b/package.json index 459bd17..7ab5842 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,6 @@ "start": "node index.js" }, "dependencies": { - "node-schedule": "^2.1.1" + } }