Redstone circuits/Clock/Rail clock A

This works best for a more compact clock. It will work for a slow or fast repeat rate, depending on how do you want.