polling - Invoke a python script on a remote server and poll the status -


i'm looking best way invoke python script on remote server , poll status , fetch output. preferable me have implementation in python. python script takes long time execute , want poll status intermediately on actions being performed. suggestions?

there many options. 'polling' bad idea, assumes cpu occupation.

  • you have script send status changes.

  • you have script write it's actual status (remote) file (wither overwriting or appending log file) , can file. easiest way. can monitor file tail -f file on link

  • and many more - , more complicated - other options.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -