You need a timer which triggers after every 30 minutes.