FeatureSignals

Flag Scheduling

Schedule flags to automatically enable or disable at specific times. Useful for timed releases, promotions, or time-limited features.

How It Works

The server runs a background scheduler that checks every 30 seconds for pending schedules. When a schedule triggers, the flag state is updated, an audit entry is created, and SSE notifications are broadcast.

Setting a Schedule

bash
curl -X PUT https://api.featuresignals.com/v1/projects/$PROJECT_ID/flags/my-flag/environments/$ENV_ID \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"scheduled_enable_at": "2026-04-15T09:00:00Z", "scheduled_disable_at": "2026-04-15T18:00:00Z"}'

Use Cases

  • Timed launches: Enable a feature at a specific launch time
  • Time-limited promotions: Enable a discount feature for 24 hours
  • Maintenance windows: Disable a feature during planned maintenance
  • Regional launches: Schedule different times per environment

Next Steps