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  
			
			
			
				Run it from the task scheduler, every night at 12am or something.
Paul.
			
			
			
				
yes i could use the scheduler and a bat script without using ebasic, but that would spoil the programing fun :-)