title: How to identify when a multibranch job has been triggered by a cron schedule?
body: <p>I can have my master branch jobs run hourly like this:</p>
  <pre><code>String cron_string = BRANCH_NAME == &quot;master&quot; ? &quot;@hourly&quot; : &quot;&quot;
  
  pipeline {
    agent none
    triggers { cron(cron_string) }
    stages {
      // do something
    }
  }
  </code></pre>
  <p>But I want some specific behavior for that hourly run- like only running certain stages for the hourly cron triggered run.</p>
  <p>Is there any way to identify if a multibranch job was triggered by a cron schedule from inside the pipeline?</p>