Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
x-ui
Commits
43f6729d
Commit
43f6729d
authored
Jun 28, 2024
by
Ahmad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
2ec283b1
Pipeline
#206
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.js
app.js
+2
-2
No files found.
app.js
View file @
43f6729d
...
@@ -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);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment