The alteration of circadian rhythms during infection may function to prioritize resource allocation towards an immune response by resetting the circadian clock to a time of day that facilitates this through its regulation of other plant processes. Here, CLOCK is linked to infection.