Schedule the next run depending on the last run.