Skip to content

Commit

Permalink
refactor: updated cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
jashlu committed May 19, 2023
1 parent 16d3c70 commit 279ae0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
const schedule = require("node-schedule")

console.log("test")

schedule.scheduleJob('*/1 * * * *', () => {
console.log('hello world')
})
5 changes: 1 addition & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"start": "node index.js"
},
"dependencies": {
"node-schedule": "^2.1.1"

}
}

0 comments on commit 279ae0e

Please sign in to comment.