ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-admin
perl-win32-admin
Dealing with standby mode
by Fabrice Lemercier other posts by this author
Aug 16 2006 7:53AM messages near this date
view in the new Beta List Site
RE: Lanman replacement? | cgi-perl: embedding javascript in perl (mistake in first mail)
Hello,

I want to use the following Perl script under Windows
XP:

  print "Waiting for 1 hour...\n";
  sleep (3600);
  print "Finished\n";

However I do not get the expected result as my
computer goes to standby mode before the end of the
script!

How can my script convince Windows to either:

 * Not go to standby mode until the end of the script;

 * Or, better, go to standby mode whenever it wants
but wake up in time for finishing the script.

Thanks,

Fabrice



	
 p5.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 16 14:13:39 GMT 2006 
	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences
. 
http://fr.answers.yahoo.com 

_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved