<p>I have this cron job running on kubernetes:</p>
<pre><code>#  cronjob.yaml
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: loadjob
spec:
  schedule: &quot;05 10 31 Mar *&quot;
  successfulJobsHistoryLimit: 3
  jobTemplate:
    spec:
      template:
        metadata: # Dictionary
          name: apiaplication
          labels: # Dictionary
            product_id: myprod
          annotations:
            vault.security.banzaicloud.io/vault-role: #{KUBERNETES_NAMESPACE}#
            prometheus.io/path: /metrics
            prometheus.io/port: &quot;80&quot;
            prometheus.io/scrape: &quot;true&quot;
        spec:
          containers:
            - name: al-onetimejob
              image: #{TIMELOAD_IMAGE_TAG}#
              imagePullPolicy: Always
          restartPolicy: OnFailure    
            
          imagePullSecrets:
            - name: secret  
</code></pre>
<p>In the above cron expression I have set it to today morning 10.05AM using cron syntax schedule: <code>05 10 31 Mar *</code> - but unfortunately when I checked after 10.05 my job (pod) was not running.</p>
<p>So I found it's not running as expected at 10.05 using the above expression. Can someone please help me to write the correct cron syntax? Any help would be appreciated. Thanks</p>

Niranjan
<p>I think this should do the work <code>5 10 31 MAR FRI</code>.</p>
<p>I can recommend using website like <a href="https://crontab.guru" rel="nofollow noreferrer">this</a> to compose your <code>cron</code> schedules.</p>
