Access to the 1hour ticks

hello

how can one code be executed per (1hour) ticks ?!

shahab6631:

hello

how can one code be executed per (1hour) ticks ?!

give
example