Skip to content

Scheduler (Developer) ​

Tables scheduled_jobs + scheduled_job_runs (migration 0025).

API ​

  • GET/POST/PATCH/DELETE /api/scheduler
  • POST /api/scheduler/preview-next
  • POST /api/scheduler/:id/start|pause
  • GET /api/scheduler/:id/runs

Runtime ​

  • SchedulerRunnerService @Interval(15000)
  • Claim due rows with FOR UPDATE SKIP LOCKED
  • Actions call DeviceAttributesService.saveAttributes (SHARED) or DevicesService.sendCommand
  • Kill switch: SCHEDULER_ENABLED

support@autoconnecto.in · founder@autoconnecto.in · +91 92121 00555 · app.autoconnecto.in