In this tutorial, we learn about cron jobs and how to schedule commands and Python scripts in the terminal via crontab (for Linux and Mac). This allows us to run commands on a repetitive schedule. We specifically look into running Python scripts as cron jobs. There are a couple of pitfalls where we have to be careful. We also learn how to schedule jobs with a virtual environment.
✅ Write cleaner code with Sourcery, instant refactoring suggestions in VS Code & PyCharm: [ Ссылка ] *
⭐ Join Our Discord : [ Ссылка ]
🚀🚀 Get monthly Python and ML Tips:
[ Ссылка ]
🚀🚀 SUPPORT ME ON PATREON:
[ Ссылка ]
If you enjoyed this video, please subscribe to the channel!
Timeline:
00:00 - Introduction
01:20 - Cron syntax
06:00 - Crontab
07:15 - Python scripts
10:40 - Virtual Environment
Code:
[ Ссылка ]
You can find me here:
Website: [ Ссылка ]
Twitter: [ Ссылка ]
GitHub: [ Ссылка ]
Music: [ Ссылка ]
Photo by Kari Shea: [ Ссылка ]
#Python
----------------------------------------------------------------------------------------------------------
* This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Ещё видео!