1

Is it possible to run a python script continuously from system startup, preferably in windows( i might also need the linux version). It is to continuously ping my remote server and check for updates and notify the user.

T90
  • 567
  • 6
  • 27

1 Answers1

1

Sounds like you want to implement a service. Take a look at the following: Is it possible to run a python script as a service

Community
  • 1
  • 1
Rik Verbeek
  • 502
  • 3
  • 8
  • Thank you sir!, but what about on linux? also, Please do mention if you know a simpler solution, as the code mentioned was a bit complex. – T90 Nov 19 '14 at 12:45
  • For linux it might depend on your distribution. But a small can be found here: http://stackoverflow.com/questions/12973777/how-to-run-a-shell-script-at-startup And maybe a more simple approach for Windows will be the startup folder of the user. But that will only work when you login automatically. Or you are ok with logging in before the script is started. – Rik Verbeek Nov 19 '14 at 12:51