• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

ControlUp API and Running Scripts on Offline Devices

Posted on December 18, 2024

A question was asked about using the ControlUp API to run scripts on an offline device. Another user responded that this is not possible and the device must be online for the script to run. However, the API does queue up requests for offline devices, with a short time limit of 1 minute. This is not intended as a cache, but rather to account for devices only checking in every minute. Therefore, it is not necessary to filter out offline devices in API calls.


Read the entire ‘ControlUp API and Running Scripts on Offline Devices’ thread below:

If I use the API to invoke a script on a device that is offline does that get queue up or would it just fail flat out?


No unfortunately it does not

Device must be online to have a script run on it

But I like the idea


I was ready to go look it up but I guess Eugene has some experience with it already 😄


😅


I figured it would fail but the way the request is sent it doesn’t give much feedback


Correct logs so that the request was sent to the device but the script will not run to provide any output


So there is a cache or list of actions pending for the device. But its time to live is quite short at 1 minute. It appears it isn’t intended as like an offline cache. But more-so to account for the fact that devices only check in every minute.


That makes sense then, I’ve been filtering out offline devices in my calls to run scripts, but that’s not real-time and done when I pull down a list of devices. Sounds like the backend queues up requests rather or not the machine is live, so I probably don’t need to do that.

Continue reading and comment on the thread ‘ControlUp API and Running Scripts on Offline Devices’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: Logs, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..