Python Forum
Hosting a script on a VPS, and on a schedule? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Hosting a script on a VPS, and on a schedule? (/thread-32878.html)



Hosting a script on a VPS, and on a schedule? - oldguy - Mar-13-2021

A friend helped me by writing a python script. Basically, it opens a browser, navigates to a website, opens several pages on the site looking for specific products. The links to be opened are in a text file. If they're in stock, they're added to cart and checks out. If nothing is in stock, it closes the browser. I've added it to my task scheduler on Win 10, and everything is working as anticipated.

I have a couple of questions. What would be the best way to host the script online, versus running from my laptop? At the same time, I'd like to still be able to schedule when it runs.

I've read that a VPS would be a good way to accomplish this, but I don't know. I've been reading and watching youtube videos, but I'm still not sure where to start.

Thanks!