完善极光配置,格式化代码
This commit is contained in:
8
scripts/jg/outtime.rsc
Normal file
8
scripts/jg/outtime.rsc
Normal file
@@ -0,0 +1,8 @@
|
||||
:foreach i in=[/ppp active find] do={
|
||||
:local onlinetime [/ppp active get $i uptime]
|
||||
:local onlinetimeh [:pick $onlinetime begin=0 end=([:find $onlinetime ":"])]
|
||||
|
||||
:if ($onlinetimeh>23) do={
|
||||
/ppp active remove $i
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user