title: Firebase Scheduled Functions with schedule time less than 1 minute
body: <p>I'm developing a firebase scheduled function that updates my <code>Firestore</code> collection <code>key-values</code> based on some condition specified in the function. I want this scheduled function to be called every 5 seconds, but as I could understand from the firebase documents that the minimum granularity is 1 minute.</p>
  <p>I'm thinking of using a <code>setInterval()</code> where each interval is of 5 seconds and executes the above-discussed function, but I'm not comfortable with such method, as I know this is not the correct way to do it and I may also end up incurring additional charges.</p>
  <p>Any idea how to achieve this in a proper way? Thanks in advance.</p>