Circadian rhythms can boost the body's ability to fight intestinal bacterial infections, researchers have found.