wake from sleep?

Windows specific forum
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

wake from sleep?

Post by jassing »

Is it possible to have an application wake a laptop from sleep w/o the user being involved?
I have a task that MUST run every 30 minutes. I can't seem to get "cancel" going or shutdown/suspend/etc.
The most likey is 'suspend' so if the app could wake the laptop, that'd get around this issue.
Axolotl
Addict
Addict
Posts: 832
Joined: Wed Dec 31, 2008 3:36 pm

Re: wake from sleep?

Post by Axolotl »

sometimes a quick seach is your friend...
Have you tried this one:
Wake on lan WOL (Windows only)
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: wake from sleep?

Post by jassing »

I should have been more specific.
I need the application itself (or a windows scheduled task) to wake the computer (not from another machine based on NIC)
thanks
Bitblazer
Enthusiast
Enthusiast
Posts: 762
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: wake from sleep?

Post by Bitblazer »

jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: wake from sleep?

Post by jassing »

Thank you!
Axolotl
Addict
Addict
Posts: 832
Joined: Wed Dec 31, 2008 3:36 pm

Re: wake from sleep?

Post by Axolotl »

jassing wrote: Mon Apr 15, 2024 4:41 pm I should have been more specific.
I need the application itself (or a windows scheduled task) to wake the computer (not from another machine based on NIC)
thanks
Okay, than you can try the console app POWERCFG.EXE
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: wake from sleep?

Post by jassing »

Axolotl wrote: Tue Apr 16, 2024 3:35 pm Okay, than you can try the console app POWERCFG.EXE
EXCELLENT! Perfect! Thank you!
Post Reply