in reply to Re: sleep() but don't exit
in thread sleep() but don't exit

Or if running on a Windows machine, use the built in Scheduled Tasks (it is called that on WinXP at least) functionality found in the Control Panel.