101hey101 Posted January 3, 2014 Posted January 3, 2014 I was recently trying to start a couple of programs from terminal in the iOS app when I noticed they failed to run. It took me awhile to realize that terminal runs as the system user. That is probably fine for most peoples needs, but I would love for the ability to run terminal as a user on the computers I manage. That way I can restart certain programs if they crash or any number of things. If there already is a way to do this, then I would love to know. If there isn't then is there a way you guys could add support for it, or would it be better for me to try and make a plugin?
Administrators Paul Posted January 7, 2014 Administrators Posted January 7, 2014 You could do the following: Â Create a scheduled task that you configure it to run manually (no schedule) and to impersonate a user then you can execute the scheduled task on demand from PC Monitor You can create a plugin that can execute processes as a user (sample: http://forum.pulseway.com/topic/782-create-plugin-in-visual-studio-vb/#entry3264)
101hey101 Posted January 8, 2014 Author Posted January 8, 2014 I think I may try and go the plugin route as theres another plugin I want to implement for my altcoin mining rig to monitor it. So This would help me dive into that a bit. Thanks!
Administrators Paul Posted January 8, 2014 Administrators Posted January 8, 2014 Most plugins are open source (at least mine), feel free to reuse any code you may find on these forums. Also there are some plugin examples and documentation available here: http://www.pulseway.com/api
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now