Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Developing Cron Job On Windows Platform With Python
Rating: 5.0 out of 5(2 ratings)
8 students

Developing Cron Job On Windows Platform With Python

Run Python scripts automatically with Windows Task Scheduler—logging, retries, DB work, and alerts included.
Created byKam Yen Cheah
Last updated 8/2025
English

What you'll learn

  • Schedule and run Python scripts with Windows Task Scheduler.
  • Build reliable jobs with logging, retries, and success/failure alerts.
  • Read/write databases (SQLite/SQL Server) safely with transactions.
  • Handle paths, virtualenvs, and permissions so tasks run unattended.
  • Send email/Telegram notifications from Python jobs.
  • Process large datasets in batches to avoid timeouts.

Course content

1 section • 8 lectures • 2h 37m total length
  • Introduction1:18:40
  • Course Files & Manifest0:01

    (1) Overall Course Manifest [Python_Cron_Job_Windows_Manifest.txt]
    (2) main.zip contains:
          (a) the master video with 6 chapters,

          (b) presenter note for all 6 chapters and

          (c) slides for all 6 chapters

    (3) Each zip file of the chapter contains slides, presenter note and sample codes.

  • Chapter 016:47
  • Chapter 0213:31
  • Chapter 037:49
  • Chapter 0423:05
  • Chapter 0518:44
  • Chapter 068:37

Requirements

  • Windows 10/11 PC with permission to create scheduled tasks.
  • Python 3.10+ installed; basic Python (variables, loops, functions).
  • Able to use pip and a code editor (VS Code or similar).
  • Internet access to install libraries; sample SQLite DB provided.
  • No prior cron/Task Scheduler experience required.

Description

Automate your work on Windows by turning Python scripts into reliable, hands-off jobs with Task Scheduler.

In this practical course you’ll create real scheduled tasks, handle paths and virtual environments, add logging and email/Telegram alerts, and design jobs that survive restarts and permission issues.


You’ll learn how to:


   7 Core Elements in Programming where programming languages is built on

    Create one-time, recurring, at-startup, and at-logon tasks

    Run Python with virtualenvs and absolute paths

    Virtual Environment in Python to make your python code safe

    Log success/failure, add retries, and rotate logs

    Work with SQLite/SQL Server safely using transactions & batching

    Send notifications on errors or completion

    Troubleshoot the common “runs manually but not on schedule” problem

    We will also look at what is different in python syntax

    We also provide sample codes for applying transaction and rollback concept


Projects you’ll build


    Daily data processor writing to SQLite

    Weekly maintenance task with email/Telegram notifications

    Safe batch updater with rollback

You'll also get downloadable scripts, slides, checklists, and templates to reuse in your own automation projects and workflows.


Prerequisites

Basic Python (variables, functions, pip). A Windows 10/11 PC with permission to create scheduled tasks. No prior cron/Task Scheduler experience required.


Who this course is for

Developers, analysts, and sysadmins who want reliable Windows automation with Python.

Who this course is for:

  • Beginner-to-intermediate Python users who want to automate recurring work on Windows. Ideal for developers, data analysts, and sysadmins moving from manual scripts to reliable scheduled jobs.
  • Managers or SAs who need to understand how production jobs are built can also follow the demos.