Hey guys 👋, in this video I’ll show you how to use Task Scheduler in Windows, which works just like cron jobs on Linux! 🖥️⚡
We’ll walk through how to automate your Python scripts to run on schedule — for example, every 2 hours — on a Windows PC or server that runs 24/7. This is especially useful for data collection tasks, automated backups, or routine maintenance scripts.
🔧 What you’ll learn in this video:
✅ Running Python scripts from Command Prompt
✅ Creating a basic task in Task Scheduler
✅ Adding arguments, working directory, and Python executable path
✅ Testing your task to confirm it runs successfully
✅ Creating an advanced scheduled task that repeats every 2 hours
✅ Running the task under `SYSTEM` account (highest privilege)
✅ Using Task Manager to confirm background execution
✅ Adding buffering & infinite loop for continuous data collection
Whether you’re using a Windows virtual machine or your personal laptop, this tutorial will help you automate any task reliably!
💡 This setup works perfectly for data collection scripts from APIs like Yahoo Finance or FRED, but can be applied to any type of automation task.
📌 If this helped you, don’t forget to Like 👍, Comment 💬, and Subscribe 🔔 for more automation & Python tutorials!
windows task scheduler, cron job windows, automate python script windows, run python script on schedule, windows scheduled task python, task scheduler system account, task scheduler highest privilege, create scheduled task windows 10, python task automation, task scheduler tutorial
#TaskScheduler #WindowsAutomation #PythonAutomation #CronJob #WindowsTips #ProgrammingTutorial