We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef71793 commit 28a3779Copy full SHA for 28a3779
src/main/kotlin/me/lightless/izumi/plugin/timer/impl/Ryuo.kt
@@ -0,0 +1,20 @@
1
+package me.lightless.izumi.plugin.timer.impl
2
+
3
+import me.lightless.izumi.plugin.timer.ITimer
4
+import org.slf4j.LoggerFactory
5
6
+@Suppress("unused")
7
+class Ryuo : ITimer {
8
9
+ private val logger = LoggerFactory.getLogger(javaClass)
10
11
+ override val name: String
12
+ get() = "ryuo"
13
+ override val period: Long
14
+ get() = 60 * 1000 // 每分钟运行一次
15
16
+ override suspend fun process() {
17
+ this.logger.debug("$name start!")
18
19
+ }
20
+}
0 commit comments