Set alarm for alerts.