first commit

This commit is contained in:
AlfandiMario
2024-11-12 14:04:28 +07:00
commit 0b04f76f9e
13 changed files with 1892 additions and 0 deletions

35
README.md Normal file
View File

@@ -0,0 +1,35 @@
sample config file
```json
{
"base_url": "https://cpone.aplikasi.web.id/one-api/",
// Setiap 2 menit dari jam 6 sampai 20
"schedule": [
"0 */2 6-20 * *"
],
"delay": 5,
"row_per_batch": 50,
"startDate": "2023-08-01", //yyyy-mm-dd
"endDate": "2024-12-30", //yyyy-mm-dd
"mcuID": "56" // number
}
```
Build the source
```bash
npm run build
```
Compile
```bash
npm run compile
```
Run
```bash
npm run start
```
Run Script
```
node .\dist\one-result-gw.js
```