시스템 모니터
This commit is contained in:
11
backend/api/network/pubnet/scheduler/start.post.ts
Normal file
11
backend/api/network/pubnet/scheduler/start.post.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { pubnetScheduler } from '../../../../utils/pubnet-scheduler'
|
||||
|
||||
export default defineEventHandler(() => {
|
||||
pubnetScheduler.start()
|
||||
|
||||
return {
|
||||
success: true,
|
||||
message: 'Pubnet scheduler started',
|
||||
isRunning: pubnetScheduler.getIsRunning()
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user