cron job to run every day 00h ingestion
This commit is contained in:
parent
72f3fd82c8
commit
1f5098a871
4 changed files with 92 additions and 3 deletions
19
backend/package-lock.json
generated
19
backend/package-lock.json
generated
|
@ -8,6 +8,10 @@
|
|||
"name": "backend",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@types/node-cron": "^3.0.11",
|
||||
"node-cron": "^4.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@prisma/client": "^6.8.2",
|
||||
"@types/express": "^5.0.2",
|
||||
|
@ -244,6 +248,12 @@
|
|||
"undici-types": "~6.21.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/node-cron": {
|
||||
"version": "3.0.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/node-cron/-/node-cron-3.0.11.tgz",
|
||||
"integrity": "sha512-0ikrnug3/IyneSHqCBeslAhlK2aBfYek1fGo4bP4QnZPmiqSGRK+Oy7ZMisLWkesffJvQ1cqAcBnJC+8+nxIAg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/qs": {
|
||||
"version": "6.14.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz",
|
||||
|
@ -1321,6 +1331,15 @@
|
|||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/node-cron": {
|
||||
"version": "4.0.7",
|
||||
"resolved": "https://registry.npmjs.org/node-cron/-/node-cron-4.0.7.tgz",
|
||||
"integrity": "sha512-A37UUDpxRT/kWanELr/oMayCWQFk9Zx9BEUoXrAKuKwKzH4XuAX+vMixMBPkgZBkADgJwXv91w5cMRTNSVP/mA==",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/normalize-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue