Commit 1de3824c authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent cf5c8267
......@@ -89,7 +89,7 @@ async function check() {
let configFileName=files[i].split('-')[0]
if (worker !== null) {
await fs.renameSync('allFiles/' + files[i], worker + '/' + files[i])
await fs.renameSync('allFiles/' + files[i], 'work/'+worker + '/' + files[i])
await makeStatusNew(worker, '1')
//console.log('node run.js ' + worker +' '+configFileName)
shell.exec('node run.js ' + worker +' '+configFileName +' '+JSON.stringify([]), {async: true});
......
......@@ -75,7 +75,7 @@ async function check() {
let configFileName = files[i].split('-')[0]
if (worker !== null) {
await fs.renameSync('allFiles/' + files[i], worker + '/' + files[i])
await fs.renameSync('allFiles/' + files[i], 'work/'+worker + '/' + files[i])
await makeStatusNew(worker, '1')
//console.log('node run.js ' + worker +' '+configFileName)
// console.log('node run.js ' + worker + ' ' + configFileName +' '+JSON.stringify(checks))
......
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