Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Schedule and Automatically Run Python Code

Keith Galli via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn various methods for scheduling and automatically running Python code in this comprehensive tutorial video. Explore local automation using cronjobs and Windows Task Scheduler, as well as cloud-based solutions with AWS Lambda and CloudWatch. Discover how to automatically generate and send daily analytics reports via email. Follow step-by-step instructions for setting up automated tasks on Mac, Linux, and Windows systems. Gain insights into working with serverless environments, installing Python packages, and overcoming limitations in AWS Lambda. By the end of this tutorial, master the skills to efficiently automate Python scripts for both local and cloud-based applications.

Syllabus

- What we’ll be doing in this video
- Check out Skillshare! sponsored
- How can we automate scripts? Overview of local, cloud, and serverless methods
- Simple example of local script automation w/ cronjobs & windows task scheduler
- How to schedule code on a cloud machine use cronjobs
- Simple example of cloud script automation w/ AWS Lambda & Cloudwatch
- Schedule & automate sending an email locally
- Schedule & automate sending an email on the cloud w/ Lambda & Cloudwatch
- Installing python packages in a serverless environment zip uploads
- Generate & schedule sending analytics reports locally
- Generate & schedule sending analytics reports in AWS Lambda
- Limitations of lambda max file upload size
- Generate & schedule sending analytics reports in AWS Lambda
- Final thoughts & video recap!

Taught by

Keith Galli

Reviews

Start your review of How to Schedule and Automatically Run Python Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.