Single machine scheduling with dynamic arrivals