title: How to invoke firebase Schedule functions locally using pubsub emulator
body: <p>I am working on cloud functions especially schedule functions. I need to trigger a function periodically each 5 minutes, but in only test step. I need to run it on pubsub emulator without deploying it.</p>
  <p>How to do it?</p>
  <p>I tried to use firebase shell, but it triggered only once</p>
  <pre><code> exports.scheduledFunctionPlainEnglish =functions.pubsub.schedule('every 2 minutes')
   .onRun((context) =&gt; {
      functions.logger.log(&quot;this runs every 2 minutes&quot;)
      return null;
  }) 
  </code></pre>