steadily, diligently, repeatedly (with a light tapping sound)
だれかがドアをこつこつとたたいている。
Someone is knocking on the door.
彼はこつこつ事実を調べていた。
He diligently investigated the facts.
彼は仕事をこつこつやった。
He worked diligently.
こつこつやれば受験に受かるだろう。
If you keep working steadily, you'll probably pass the entrance exam.