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 linkand many more - , more complicated - other options.
Comments
Post a Comment