periodic command scheduler
