Takes a snapshot on a Foscam at a certain interval.