Fixes #20524: Enhance API script scheduling validation #1035

Closed
opened 2026-04-05 19:56:53 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 10/17/2025

Fixes: #20524

Tightens script scheduling validation:

  • Rejects schedule_at values in the past.
  • When only interval is provided, starts now and repeats.
  • Uses local_now() for accurate, timezone‑aware comparisons.

Small, backward‑compatible fix to make scheduling behave as expected.

*Originally created by @pheus on 10/17/2025* ### Fixes: #20524 Tightens script scheduling validation: - Rejects `schedule_at` values in the past. - When only `interval` is provided, starts now and repeats. - Uses `local_now()` for accurate, timezone‑aware comparisons. Small, backward‑compatible fix to make scheduling behave as expected.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1035