define x port[1]

#loop
if hour=7 then x=on
if hour=19 then x=off
goto loop

Matthias