Using Cron to Automate Running Python and R Scripts
When you’re working on data science projects, you might have scripts/processes you want to run each day. For example, i’m working on a project to model how full trailhead parking lots are based in part on weather. I want to collect the weather forecast each day so I can use it to make predictions. Instead of manually running the script every day (which I would probably forget to do anyways), I set up a cron job that automatically runs the script each day. Cron can also be useful to automate other processes like backups etc..