title: How i can trigger build from jenkinsfile using cron syntax?
body: <p>im using multibranch jenkins style each branch has its own jenkinsfile, i have added triggers in jenkinsfile but it didnt trigger anything on the specified time (8pm), im not sure if im missing something</p>
  
  <pre><code> agent {
      node {
        label 'master'
      }
    }
  
    triggers {
             cron(env.APP_NAME == 'DICTIONARY' ? '00 20 * * *' : '')
    }
  
    stages {
      stage('SCM Checkout') {
        steps {
          git(branch: 'test', url: 'https://gitlab.testral.ba/amramework.git', poll: true, credentialsId: 'GitlabCred')
        }
      }
  </code></pre>