Going to recommend that you take a startTime as you do now, PLUS a Duration. If you want, you can make it an Option[Duration], and then internally use one batch if the user doesn't specify.