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 15:12:22
 
 
To
15/03/1999 14:47:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00197726
Message ID:
00197742
Views:
26
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform