Posted January 3, 201411 yr 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?
January 7, 201411 yr Administrators 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)
January 8, 201411 yr Author 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!
January 8, 201411 yr Administrators 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
Create an account or sign in to comment