Running a Python script could be as easy as opening your IDE or text editor and clicking the run button; however, if the script has to be executed daily or weekly, you don’t want to waste time repeating these steps over and over again.
Instead, you could automate your scripts by scheduling jobs that run your Python scripts at specific times. In this article, I’ll show you how to do this on Mac and Windows using the crontab and the task scheduler.

