Commit 2eb12434 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 2ab6762a
{
"apps": [
{
"name": "torobche",
"script": "./torobche.js",
"merge_logs": true,
"log_date_format":"YY-MM-DD HH:mm",
"instances" : "max",
"exec_mode" : "cluster"
}
]
}
...@@ -76,8 +76,8 @@ async function run() ...@@ -76,8 +76,8 @@ async function run()
if (worth < base) { if (worth < base) {
base=worth base=worth
console.log(arrNew[0].sum,balance,worth) console.log(arrNew[0].sum,balance,worth)
let z={bad:base} let z={maxReserve:arrNew[0].sum,balance:balance,bad:base}
console.log(z)
await createfileADV(JSON.stringify(z)) await createfileADV(JSON.stringify(z))
} }
// let start=false // let start=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment