How to run a python script continuosly once started on an online server without user interaction? -
few days wrote python script retrieves running train information website , sends sms user specified number. checks train website, every 10 minutes in loop, change in running status of train, if change found updated information sent user via sms.
now runs great pc kept on always, wanted upload script somewhere online runs continously once started , sends smses when user offline. facilitate live updates of train while 1 on move.
i have checked answers posted here: https://stackoverflow.com/questions/904977/somewhere-to-store-python-scripts-run-them-online of them online interpreters , pythonanywhere have done work had allowed connection http servers.
i have published on github at: https://github.com/naivealgorist/rtsly
have @ google appengine https://appengine.google.com/ or amazon aws http://aws.amazon.com/. both platforms host long running services. appengine easy setup, has limitations. amazon require own system management , more difficult started with, allows anything.
Comments
Post a Comment