Cron inside WSL beats Windows Task Scheduler for one reason: it actually works the way I think
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Using Linux cron inside WSL to automate Windows tasks offers a simpler, plaintext alternative to Windows Task Scheduler. Since WSL doesn't start automatically, a one-time Task Scheduler entry is needed to launch WSL at boot. Once running, cron jobs can execute Bash scripts against the Windows filesystem, call Windows executables like winget.exe for silent app updates, and handle complex scheduling with chained dependencies more gracefully than Task Scheduler's GUI. PowerShell remains the better choice for Windows-native automation, but cron in WSL is a natural fit for developers already fluent in Bash.
Table of contents
There's a small initial setupCron gives Windows a new way to schedule tasksWSL isn't always the right call186 Impressions