When you run a Playwright script by double-clicking it or using python shot.py, it works fine. However, when you register it in Task Scheduler to run every morning, nothing happens. No error screen ...
I'm about ready to pull my hair out. I am going to have (0x1) errors showing up in my dreams soon if this keeps up. I have a simple Python script that I want to run as soon as an AWS EC2 (Windows) ...
When using Windows 11/10 regularly, one can easily see that the OS is a mix of various background tasks and processes. To complete a huge number of background processes, Windows uses a Task Scheduler.