Poll N locations and write the links to the database.