UNPKG
pooliot-client
Version:
beta (11.999.0-beta.7)
latest (11.999.19)
11.999.19
11.999.18
11.999.17
11.999.16
11.999.15
11.999.14
11.999.13
11.999.12
11.999.11
11.999.10
11.999.9
11.999.8
11.999.7
11.999.6
11.999.5
11.999.4
11.999.3
11.999.2
11.999.1
11.999.0
11.999.0-beta.7
11.999.0-beta.6
11.999.0-beta.5
11.999.0-beta.4
11.999.0-beta.3
11.999.0-beta.2
11.999.0-beta
11.4.2
11.4.1
11.4.0
11.4.0-beta
11.3.2
11.3.1
11.3.0
11.2.0
11.1.1
11.1.0
11.0.10
11.0.9
11.0.8
11.0.7
11.0.6
11.0.5
11.0.4
11.0.3
11.0.2
11.0.1
11.0.0
10.2.0
10.1.10
10.1.9
10.1.8
10.1.7
10.1.6
10.1.5
10.1.4
10.1.3
10.1.2
10.1.1
10.1.0
10.0.11
10.0.10
10.0.9
10.0.8
10.0.7
10.0.6
10.0.5
10.0.4
10.0.3
10.0.2
10.0.1
10.0.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
pooliot client
github.com/christophehurpeau/pooliot-client
christophehurpeau/pooliot-client
pooliot-client
/
src
/
main-process
/
commands
/
system.js
10 lines
(7 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
Logger
from
'nightingale'
;
import
{ runSync }
from
'../utils/exec'
;
const
logger =
new
Logger
(
'app:commands:system'
);
export
const
ntpUpdate = ():
void
=>
{ logger.
info
(
'ntp update'
);
runSync
(
'./system.sh'
, [
'ntpUpdate'
]); };