The wording of my question might be a little bit misleading. I am trying to figure out whether it is possible to make a Python program running on a remote server.
My plan is simple: I want to make a script that would automatically run once a day, go to a web page, parse it, register number of new highs and new lows in the stock market and add it to a file. All this would be done automatically at a pre-set time.
What is the proper way to do this?
Thank you very much!
You must be logged in to post. Please login or register an account.
You want a cron.
Here's a tutorial on the crontab, within one of the Flask tutorials. You do NOT need to be using Flask to use a cronjob, nor do you even need to be using Python. It's purely a way to schedule tasks to run: