<basefont=1>

## Working with a Time Window That Extends Past Midnight

When setting up the time during which a task runs, you can enter a time window that extends past midnight and into the next day. You do this by providing an end time that occurs the next morning.

Tip When a time window crosses midnight, the start time is later in the day than the end time.

Bear in mind, however, that this type of time window changes the days on which the task can run. For example, if you schedule a task to run between 8:00 PM Friday night and 4:00 AM the next morning, it's possible for the task to run on Saturday anytime before or at 4:00 AM. The same is true with restart intervals that pass midnight. For example, a schedule with a time window of 8:00 PM Friday to 4:00 AM Saturday with a restart interval of every four hours will include Saturday in its run schedule, even if you explicitly exclude Saturday (using the Exclude Specific Dates option).

In the above example, if you don't want the task to run on Saturday, you must alter the time window, for example, by changing the ending value from 04:00:00 AM to 11:59:59 PM. Then, the task is confined to one day.

For details about specifying a time window, see Specifying a Time Window.