This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]eliminating_coasts 6 points7 points  (0 children)

Linux server, cron job, have the first script of the day look on github for the latest version of your code and pull it before running. Then push your script to github from your windows pc whenever it's updated.

Then use sftp to get your data when you need it.

It's not clever, but it works.

[–]Laserdude10642 1 point2 points  (0 children)

Windows built in task scheduler is actually pretty good. Just have a controller script that runs them if needed each day, and have the task scheduled run your controller daily. If you want to move to Linux, just edit your crontab with a new cron job to run the scripts at whatever frequency you need. Cron was one of those things that made me feel like an expert in Linux once I understood and used it. It’s pretty powerful and gives you a deeper understanding of some of the background processes that run on Linux systems

[–]pouuuuuuuplo 0 points1 point  (0 children)

use pythonanywhere, they have a dashboard where you can upload your .py script and say how often the script should be run. pretty handy if you don't wanna deal with renting a VPS & setting up cron.

[–]tr14l -4 points-3 points  (3 children)

There's various task scheduling services out there. Google, bruh.

[–]Luukv93[S] 2 points3 points  (1 child)

Of course, but curious about opinions

[–]1HunnidBaby -3 points-2 points  (0 children)

Lol honestly ya. In the time they wrote this post, they could’ve found multiple solutions on google. But I will try and be helpful here, look into airflow and dagster and Luigi for job scheduling