You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
244 B
11 lines
244 B
import { jobLogger } from "@/logger"
|
|
|
|
export default {
|
|
id: "example",
|
|
cronTime: "*/10 * * * * *", // 每10秒执行一次
|
|
task: () => {
|
|
jobLogger.info("Example Job 执行了")
|
|
},
|
|
options: {},
|
|
autoStart: false,
|
|
}
|
|
|