Integrated with opencv cam, Checks database every 5 secs if appointment table was updated