title: Run Function in Laravel after a certain time and show this time as a countdown
body: <p>So I have a function and I want this function to run after(like 10 min) user selects it. While timer(10 min) is counting down to run this function, I want timer to be shown to user in a spesific view. I have all functions and views set up for this aim just I dont know how to put timer and show it to user.</p>
  
  <p><a href="https://www.w3schools.com/howto/howto_js_countdown.asp" rel="nofollow noreferrer">https://www.w3schools.com/howto/howto_js_countdown.asp</a></p>
  
  <p>I checked this but I cant properly put PHP values into Javascript so I cant make it. I also thought about cron jobs but I am not sure how I can do it there.</p>
  
  <p>1) I want a function to run after a spesific time.</p>
  
  <p>2) Additionally I would really like to show this time as a countdown to user.</p>