IonicWind Software

IWBasic => General Questions => Topic started by: Copex on July 13, 2009, 09:07:24 AM

Title: sleep()
Post by: Copex on July 13, 2009, 09:07:24 AM

the kids dont seem to know when to shut down the computer and general try "oh i did't now what time it was" routine so i am going to write a small program to shutdown the PC and just get it to load when the p.c starts
so the program will sit in memory just checking the time,  i know i can use the sleep() command in a loop to lower the programs load on the systems, but is there a better way to do this 
Title: Re: sleep()
Post by: Ionic Wind Support Team on July 13, 2009, 09:53:16 AM
Run it from the task scheduler, every night at 12am or something.

Paul.
Title: Re: sleep()
Post by: Copex on July 17, 2009, 05:57:29 AM

yes i could use the scheduler and a bat script without using ebasic, but that would spoil the programing fun :-)