I’m working on a Python script that connects to the Twitter API to pull in some tweets into an array, then pushes this to a mysql database. It’s a pretty basic script, but I’d like to set it up to run weekly.
I’d like to know the best way to deploy it so that it can automatically run weekly, so that I don’t have to manually run it every week.
2
Answers
You can create a batch file that can activate python and run your script and then, use task scheduler to schedule youe batch file execution weekly
This depends on platform where you intend to run your python code. As martin says, this is not a python question and more of scheduling related question.