Run script in command line (without redis) #4960

Closed
opened 2025-12-29 19:22:39 +01:00 by adam · 7 comments
Owner

Originally created by @DanSheps on GitHub (Jun 3, 2021).

Originally assigned to: @DanSheps on GitHub.

Proposed Changes

Add command to run script in command line without redis.

Justification

Useful for testing, developing and debugging scripts

Originally created by @DanSheps on GitHub (Jun 3, 2021). Originally assigned to: @DanSheps on GitHub. ### Proposed Changes Add command to run script in command line without redis. ### Justification Useful for testing, developing and debugging scripts
adam added the status: acceptedtype: housekeeping labels 2025-12-29 19:22:39 +01:00
adam closed this issue 2025-12-29 19:22:39 +01:00
Author
Owner

@DanSheps commented on GitHub (Jun 3, 2021):

Was discussed previously with the maintainers and just forgot to add in a issue for it.

@DanSheps commented on GitHub (Jun 3, 2021): Was discussed previously with the maintainers and just forgot to add in a issue for it.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 31, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 31, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@DanSheps commented on GitHub (Sep 28, 2021):

I am going to get back on track with this. Almost have a command wrapper for this I believe done (using it locally)

@DanSheps commented on GitHub (Sep 28, 2021): I am going to get back on track with this. Almost have a command wrapper for this I believe done (using it locally)
Author
Owner

@WillIrvine commented on GitHub (Oct 28, 2021):

Looks good Dan, will this also work with reports?

@WillIrvine commented on GitHub (Oct 28, 2021): Looks good Dan, will this also work with reports?
Author
Owner

@jeremystretch commented on GitHub (Oct 28, 2021):

@WillIrvine There's a runreport management command already.

@jeremystretch commented on GitHub (Oct 28, 2021): @WillIrvine There's a `runreport` management command already.
Author
Owner

@WillIrvine commented on GitHub (Oct 28, 2021):

@jeremystretch That still runs the report via redis doesn't it?

@WillIrvine commented on GitHub (Oct 28, 2021): @jeremystretch That still runs the report via redis doesn't it?
Author
Owner

@jeremystretch commented on GitHub (Oct 28, 2021):

Ah yeah, I think it does.

@jeremystretch commented on GitHub (Oct 28, 2021): Ah yeah, I think it does.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4960