In this video, we'll explore job scheduling in Python. We'll look at the "schedule" package that allows functions and callables to be scheduled periodically or at specific times.
We'll schedule a script that scrapes the top articles from Hacker News, and will explore how to use Better Stack to monitor scheduled tasks.
► RELATED GUIDES
Job Scheduling in Python:
https://betterstack.com/community/gui...
Job Scheduling in Node.js with BullMQ
https://betterstack.com/community/gui...
Job Scheduling in Node.js with Agenda: A Beginner's Guide
https://betterstack.com/community/gui...
► HACKING SCALE NEWSLETTER
https://newsletter.betterstack.com/
► READ MORE
More about Better Stack: https://betterstack.com/
Community pages: https://betterstack.com/community/
► STAY TUNED
GitHub: https://github.com/BetterStackHQ
Twitter: / betterstackhq
LinkedIn: / betterstack
Instagram: / betterstackhq
TikTok: / betterstack
► ADDITIONAL RESOURCES
Python Schedule Package: https://schedule.readthedocs.io/en/st...
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:33 Schedule package overview
02:38 Scraping HackerNews with requests & beautifulsoup
10:24 Ordering articles by score
11:50 Scheduling task with schedule module
17:55 Scheduling with decorators
19:27 Passing arguments to scheduled functions
20:49 Monitoring tasks with Better Stack
#python #monitoring