Skip to content

How to get a system's current timezone #685

Answered by jshcodes
amboyconnector asked this question in Q&A
Discussion options

You must be logged in to vote

This detail is not returned as part of a GetDeviceDetails call, but you could grab it from RTR if you're wanting to use the API.

Our sample located here will execute a command across a batch of hosts. (This example does not demonstrate queueing.)

Something along the lines of:

python3 bulk_execute.py -k API_KEY_HERE -s API_SECRET_HERE -f HOSTNAME_SEARCH_STRING -c date

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@amboyconnector
Comment options

@jshcodes
Comment options

Answer selected by amboyconnector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
RTR Real Time Response issues and questions API usage General API usage issues and questions hosts Hosts or Host Groups issues and questions
2 participants