Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I wake the computer up within VFP?
Message
From
15/03/1999 17:18:30
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00197726
Message ID:
00197800
Views:
18
>>Hi all,
>>
>>My application has to do certain tasks overnight. The code was allright, but VFP failed to execute the program at certain hour in the night just because the computer felt in standby mode and VFP did not wake it up to perform the tasks.
>>
>>How can I force the computer to wake up within VFP to execute the code afterwards?
>>
>
>You can't; you need something external to your system to trigger the wakeup action, since entering the suspend state stops all program execution. If you're on a network, you might investigate Wake-On-LAN if your operating system, motherboard and NIC fully support ACPI and APM, otherwise, disable the standby mode within both the BIOS and in Control Panel.
>
>I'd strongly advise disabling suspend and virtually all standby options other than video-related options; if your CPU clock rate is dropped or the hard disk is spun down, all sorts of strange things can (and probably will) happen. The APM suspend/standby modes are really designed to deal with power management requirements for a laptop, where inactivity after a period of time is an indication to the system that it wants to save the current system state and minimize power consumption to maximize battery life.

What can happen? I'm leaving my disks spinned down, and I find it generally annoying to wait for them to wake up. Do I save any reasonable amount of electricity? Note, my machine is up at least 16 hours a day.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform