Skip to content

Script Job duration is wrong #11290

@mmfreitas

Description

@mmfreitas

NetBox version

v3.4.1

Python version

3.9

Steps to Reproduce

  1. Schedule a Script to execute at any time
  2. Wait for job to be run
  3. Check duration of execution

Expected Behavior

Script execution time should be counted from the scheduled time/started and completed at.

Observed Behavior

Script execution time is being counted from creation time until completion:

image

As you can see the script only ran for one minute, however if I go and check the script result it gives me 14 hours, which correlates to the time of creation.

image

This may be happening to reports also, I don't have any to test with.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions