I run Windows 10. My computer runs 24/7. In my power settings, the monitor is set to go to sleep after after a period of inactivity. This only applies to the monitor, and not the computer. The computer never enters sleep/hibernation.
I run a nightly Gmail backup script via command line, contained in a .bat file which is set by Task Scheduler to run at 02:00 every day. The .bat script opens the cmd prompt window while it runs, and closes when it's finished.
The problem is that for some reason, when the task scheduler runs the .bat, the monitor wakes up. Yes - at 02:00 in the morning, the monitor will turn itself on, simply to show the cmd window opening.
Why is this happening, and how can I stop it?
Unfortunately when I search for solutions with key words such as "stop/prevent", "task scheduler", "bat[ch] file", "command/cmd prompt", "wake/waking up" and "monitor" - all the results relate to people wishing to run scripts to wake up their computer. I can find no mention of other people with a similar problem, in that the monitor is being undesirably woken up.
Thanks...