Commit 24ae5f23 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent ae6543ac
...@@ -3,6 +3,8 @@ const app = express() ...@@ -3,6 +3,8 @@ const app = express()
const port = 3000 const port = 3000
const shell = require('shelljs') const shell = require('shelljs')
const cron = require('node-cron'); const cron = require('node-cron');
const cronOne = require('node-cron');
const cronSpeed = require('node-cron'); const cronSpeed = require('node-cron');
const shellExec = require('shell-exec') const shellExec = require('shell-exec')
var decimalPointRegex = /\-?\d+\.\d+/g; var decimalPointRegex = /\-?\d+\.\d+/g;
...@@ -57,6 +59,8 @@ cron.schedule('*/10 * * * * *', () => { ...@@ -57,6 +59,8 @@ cron.schedule('*/10 * * * * *', () => {
}); });
async function calculateSpeed() { async function calculateSpeed() {
......
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