title: Formatting the schedule on last day of quarter for Google Cloud Function (Firebase function scheduled using Google Pub/Sub) - Node.js 8
body: <p>I wish to schedule Google Cloud Function execution one time each quarter. On the last day of March, June, September and December, it should run at 23:00.</p>
  
  <p>I've found <code>cron.yaml</code> syntax for first day of quarter to run at 00:00 as following:</p>
  
  <pre><code>1 of jan,april,july,oct 00:00
  </code></pre>
  
  <p><a href="https://cloud.google.com/appengine/docs/standard/python/config/cronref?authuser=1#formatting_the_schedule" rel="nofollow noreferrer">cron.yaml reference</a></p>
  
  <p>For my requirements, two months are ending at 30th and other two at 31st. So I can't use given reference syntax as it considers same date for each following month.</p>