This is probably in all the basic mission editing tutorials, but here goes: Make a circle/square/etc patrol pattern with "move" waypoints. At the last waypoint, make a loop waypoint near the first. The patrol will now repeat the patrol pattern infinitely.