Scheduled Jobs Timezone bug #10063

Closed
opened 2025-12-29 21:26:21 +01:00 by adam · 2 comments
Owner

Originally created by @ridgfam on GitHub (Aug 9, 2024).

Originally assigned to: @bctiemann on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.8

Python Version

3.10

Steps to Reproduce

  1. Select Script
  2. Put date and time in Schedule at
    scheduleScript
  3. Click Run Script

Expected Behavior

Expected it to show as MDT.

Observed Behavior

Shows as UTC instead of MDT
scriptScheduled

Originally created by @ridgfam on GitHub (Aug 9, 2024). Originally assigned to: @bctiemann on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.8 ### Python Version 3.10 ### Steps to Reproduce 1. Select Script 2. Put date and time in Schedule at ![scheduleScript](https://github.com/user-attachments/assets/14c27fe5-abc9-4879-a445-f25117b91b2f) 3. Click Run Script ### Expected Behavior Expected it to show as MDT. ### Observed Behavior Shows as UTC instead of MDT ![scriptScheduled](https://github.com/user-attachments/assets/d1f64fd2-bf28-4312-a467-df5ad0c3e2c6)
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:26:21 +01:00
adam closed this issue 2025-12-29 21:26:21 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 13, 2024):

When I schedule a script for a specific time, that time is interpreted by NetBox as the configured time zone (UTC). But in your case it appears to be interpreted in the local time zone and converted to UTC.

@ridgfam what is your TIME_ZONE config parameter set to?

@jeremystretch commented on GitHub (Aug 13, 2024): When I schedule a script for a specific time, that time is interpreted by NetBox as the configured time zone (UTC). But in your case it appears to be interpreted in the local time zone and converted to UTC. @ridgfam what is your `TIME_ZONE` config parameter set to?
Author
Owner

@ridgfam commented on GitHub (Aug 13, 2024):

That is set TIME_ZONE = 'America/Denver'

@ridgfam commented on GitHub (Aug 13, 2024): That is set `TIME_ZONE = 'America/Denver'`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10063