title: run some code 1 hour after a document is updated with cloud function and firestore
body: <p>The user of my app can receive message and i want them to receive a notification push 1 hour after the document message is created.</p>
  <p>Here is my cloud function :</p>
  <pre><code>export const scheduler = functions.firestore
      .document(&quot;profile/{uuid}/message/{messageId}&quot;)
      .onCreate((change, context) =&gt; {
  
          //code that will send a notification push in one hour 
              
          return true;
      });
  </code></pre>
  <p>I want to try this (i found that solution on that link : <a href="https://firebase.google.com/docs/functions/schedule-functions" rel="nofollow noreferrer">https://firebase.google.com/docs/functions/schedule-functions</a>) but i don't know if i can replace &quot;every 5 minutes&quot; with some text saying one hour after :</p>
  <pre><code>exports.scheduledFunction = functions.pubsub.schedule('every 5 minutes').onRun((context) =&gt; {
    console.log('This will be run every 5 minutes!');
    return null;
  });
  </code></pre>