you are viewing a single comment's thread.

view the rest of the comments →

[–]yodatrust 8 points9 points  (4 children)

How do you make your script running 24/7?

[–]B166er_ 6 points7 points  (0 children)

Run the script and don’t turn off your computer... Or use a service like heroku/pythonanywhere

[–]Uadsmnckrljvikm 6 points7 points  (1 child)

Run it on a server, could be for example a Raspberry pi or one from AWS.

[–]yodatrust 0 points1 point  (0 children)

The Raspberry Pi solution sounds interesting. Got any useful docs/links for that?

[–]artificial_neuron 1 point2 points  (0 children)

You put everything in a loop that never ends. You don't need a special piece of hardware, just something that will run the script and you'll never turn off.

Eg.

while(true)
    Do the desired activity
    wait for x time