is there any to implement timer?

i have one requirement for a “auto-refresh”. one click event need be auto triggered periodically. is there any way to do that?