ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ecs] Help with Scripts
William C Biggs, MD
Fri, 2 Jan 2004 19:00:35 -0600

To do a scheduled reboot, you can run a reboot program (available on the
web) and simply schedule it in Control Panel>Scheduled Task in XP or W2k.

I have a reboot program like this that I use with WinXP remote access.
Occasionally I get errors that interfere with program function, but not with
the remote access. So I simply launch the reboot program, and wait a minute
or 2 for the reboot to occur, then connect back to XP via remote access. 

With remote access, the option to Restart isn't in the Start>Shut Down menu,
so reboot programs like this are needed.

Reddy Biggs



-----Original Message-----
From: lhelgerson [mailto:lhelgerson@surplushunter.net] 
Sent: Friday, January 02, 2004 5:27 PM
To: ecs@netbloc.com
Subject: Re: [ecs] Help with Scripts

What operating system are you running? I think I know a way to reboot XP.

Leland
lhelgerson@surplushunter.net

---------- Original Message ----------------------------------
From: Mark Gilmore <mark@markgilmore.net>
Reply-To: ecs@netbloc.com
Date:  Fri, 02 Jan 2004 14:58:54 -0800

i don't know off-hand how to reboot.

create a CHOICE Object (which I will name "X") whose choices are in 
TIME.CHC (Choices="FILE:time.chc").
script:
         if  update  is  Clock.Sunset
         then  X  set  Clock.Sunset
         then  X  subtract  30

then compare to X inst of Clock.Sunset

At 05:34 PM 1/2/2004 -0500, you wrote:

>I'm looking for help in creating the following 2 things I want done with a 
>script.
>1.  Reboot the computer at a certain time of the day.
>2. How to tell a light to turn on 30 minutes prior to sunset.
>
>Thanks for your help.
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003

Mark Gilmore
http://OmnipotenceSoftware.com 





  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.