0

in the system that I developed using PHP framework Laravel there is a status where the status will change from active to completed if the time or date that has been set has been reached. My question is, how to make the status change without refreshing the page? can I use Laravel scheduler?

  • 4
    Take a look at `ajax` requests, [this question](https://stackoverflow.com/a/26015321/281278) should be of help. – Peppermintology May 26 '21 at 14:15
  • 2
    "_can I use Laravel scheduler?_" Yes, you can – brombeer May 26 '21 at 14:16
  • Needs a little more info. If the status changes in 2 days you'd need to keep the page open that long when using AJAX, or open the page around the date set. Laravel scheduler will run in the background/on the server and change the status even if no page is open. – brombeer May 26 '21 at 14:24

0 Answers0