set the time in seconds to create an alert