import { pubnetScheduler } from '../../../../utils/pubnet-scheduler'

export default defineEventHandler(() => {
  pubnetScheduler.start()
  
  return {
    success: true,
    message: 'Pubnet scheduler started',
    isRunning: pubnetScheduler.getIsRunning()
  }
})
