first commit
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user