title: how can I make a countdown timer perform an action when it runs out?
body: <p>this is my very first question here and may not meet some standards, for that i apologize in advance.
  I have a site developed in laravel 5 where the users register and are expected to make take an action within a specific period after registration. I have included a countdown timer for that purpose (the time code is shown below). Now I need to automatically remove a user record from the database when the time runs out. Please how can I do that?
  the timer code is:</p>
  
  <pre><code>&lt;div class="getting-started"&gt;&lt;/div&gt;
     &lt;?php 
     $time = strtotime($user['updated_at'].'+24 hours');
     $countdown = strftime('%Y/%m/%d %H:%M:%S',$time);
     ?&gt;
     &lt;script type="text/javascript"&gt;
     $(".getting-started")
     .countdown("{{$countdown}}", function(event) {
     $(this).text(
     event.strftime('%H:%M:%S')
     );
     });
     &lt;/script&gt;
  </code></pre>