Rolf,
That'll work, at the expense of having a huge memory footprint of a VFP app running all the time. You should take a look at using the Tasks folder in the Windows folder to schedule the execution of a program.
>Is there anything I ought to know or to consider if I want to use a program like this?
>I have tested it, and it seems to work, but I am not certain if there are side effects that I may
>be unaware of? Will the program have any effect on the normal operation of the system while it is idling?
>
>parameters ptid
>deftime = ptid
>set resource off
>_screen.visible = .f.
>tid = createobject("timer")
>tid.interval = 6000
>do while .t.
> if time() > deftime
> do myProgram && perform action and exit at desired time
> exit
> endif
>enddo