You could use a
millis() timer in the same loop that includes your line following code, then use
delay() to stop for a minute. The Arduino website has a few good tutorials on how to use the
millis() timer, like this one, which has an example sketch, or this one, which explains why
millis() works in cases like yours, but uses pseudocode instead of sharing example sketches.