Recep Tayyip Erdogan welcomed a ceasefire agreement between Hamas and Israel but expressed concern over continued attacks.