Commit 43f6729d authored by Ahmad's avatar Ahmad

init

parent 2ec283b1
Pipeline #206 failed with stages
...@@ -23,7 +23,7 @@ let cpuUser = 0; ...@@ -23,7 +23,7 @@ let cpuUser = 0;
let totalRAM = 0; let totalRAM = 0;
let usedRAM = 0; let usedRAM = 0;
let freeRAM = 0; let freeRAM = 0;
let networkUsage let networkUsage={rx:1,tx:1}
let uptime let uptime
const child_process = require('child_process'); const child_process = require('child_process');
...@@ -426,7 +426,7 @@ async function getAllBlockIpRanges() { ...@@ -426,7 +426,7 @@ async function getAllBlockIpRanges() {
main() main()
updateFirewall() updateFirewall()
cron.schedule(' */1 * * * *', main); cron.schedule(' */1 * * * *', main);
cronIpToRedis.schedule(' */1 * * * *', runGetUsers); cronIpToRedis.schedule('*/10 * * * * *', runGetUsers);
//cronServiceCheck.schedule('*/5 * * * * *', firewallUpdater); //cronServiceCheck.schedule('*/5 * * * * *', firewallUpdater);
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