Skip to content

Scheduler ​

The scheduler runs timed control jobs against one or more devices: set shared attributes or send commands.

When to use ​

  • Daily pump / relay on-off windows
  • Periodic setpoint writes
  • One-shot deferred commands
  • Interval heartbeats / ping commands

Schedule types ​

TypeConfig
oncerunAt timestamp (must be future when created/started)
cron5-field cron + timezone (default Asia/Kolkata)
intervalEvery N seconds (minimum 60)

Actions ​

ActionBehavior
set_shared_attributesWrites SHARED scope (reboot-safe control path)
send_commandDevice command / RPC payload

UI ​

  • Scheduler — /scheduler
  • Editor — /scheduler/new or /scheduler/:id
  • Start / pause, preview next run, recent run history

Ops ​

  • Runner ticks every 15s
  • Multi-instance safe (FOR UPDATE SKIP LOCKED)
  • Kill switch: SCHEDULER_ENABLED=false
  • Migration: 0025_scheduled_jobs.sql

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