wake from sleep?

Windows specific forum
jassing
Addict
Addict
Posts: 1774
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
Enthusiast
Enthusiast
Posts: 449
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)
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
jassing
Addict
Addict
Posts: 1774
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: 736
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: wake from sleep?

Post by Bitblazer »

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

Re: wake from sleep?

Post by jassing »

Thank you!
Axolotl
Enthusiast
Enthusiast
Posts: 449
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
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
jassing
Addict
Addict
Posts: 1774
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