title: Make server run function once per day
body: <p>I have an object on my database containing rows with different dates + emails. I need the server to automatically check once every day or week if any of the listed dates are the current date, and if so send an email to that person. (Image of the object in backand below).</p>
  
  <p><a href="https://i.stack.imgur.com/83dxs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/83dxs.png" alt="backend object"></a></p>
  
  <p>I have made an email "on demand action" at the server side logic and operations in backand, which works, but i have to trigger it manually. Instead i need the server to trigger it on a specific time.</p>
  
  <p>Is this possible to do, and if so how?</p>
  
  <p>A solution i was thinking of, is having a function which is looping through the object, checking dates and sending the emails. And then somehow make the server run this function once per day/week or something.</p>