Diffusion-based concentration control in microcavities during long time period by programmed syringe pumps