Closed p37307 closed 1 year ago
Interesting. I didn't know this. Are you able to file a PR?
I've never done a PR before and will need to review how to do it.
OK, that's fine. I'll have a look at adding this to the README.
@p37307 I've just added a sentence. Can you check that is correct? I'm not familiar with Windows, so would appreciate confirmation.
Yes, that looks fine. The only other thing, that could be mentioned, is the .pyw file can be used anytime you want the script to run windowless, not just in Task Scheduler. I don't know why in my original post I tied it so strongly to task scheduler.
Great. Thanks @p37307
If you copy and rename the script to the .pyw extension instead of the py, you can set it up in Windows Task Scheduler and it will run silent, without opening a console window, unlike regular . py files. Windows will use PYTHONW. EXE instead of PYTHON. EXE.