Periodic command scheduler
