Cron job triggered twice (sometimes) after hibernation

Jenkins setup:
Jenkins: 2.479.3.2
OS: Linux - 5.10.233-223.887.amzn2.x86_64
Java: 21.0.5 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)

ace-editor:1.1
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
apache-httpcomponents-client-5-api:5.4-124.v31e2987e48f4
asm-api:9.7.1-97.v4cc844130d97
authentication-tokens:1.119.v50285141b_7e1
aws-credentials:231.v08a_59f17d742
aws-java-sdk:1.11.995
aws-java-sdk-ec2:1.12.772-474.v7f79a_2046a_fb_
aws-java-sdk-elasticbeanstalk:1.12.772-474.v7f79a_2046a_fb_
aws-java-sdk-minimal:1.12.772-474.v7f79a_2046a_fb_
azure-credentials:341.v4881e9f4ffea_
azure-sdk:191.v53ec8913ee10
blueocean-commons:1.27.16
blueocean-rest:1.27.16
bluesteel-cjoc:1.3.3049
bootstrap5-api:5.3.3-1
bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.2.1
cloudbees-administrative-monitors:162
cloudbees-analytics:1.813
cloudbees-assurance:2.1187
cloudbees-blueocean-default-theme:0.8
cloudbees-casc-client:2.948
cloudbees-casc-items-api:2.72
cloudbees-casc-items-server:2.72
cloudbees-casc-server:2.2595
cloudbees-casc-shared:1.6
cloudbees-folder:6.973.vc9b_85a_61e4fc
cloudbees-folders-plus:3.448
cloudbees-jenkins-advisor:358.v58972d19b_1f0
cloudbees-license:1275
cloudbees-monitoring:2.283
cloudbees-nodes-plus:231
cloudbees-platform-common:1.412
cloudbees-platform-data:763
cloudbees-plugin-usage:2.530
cloudbees-prometheus:1.133
cloudbees-quiet-start:1.89
cloudbees-restricted-credentials:102
cloudbees-ssh-slaves:361
cloudbees-support:3.36
cloudbees-uc-data-api:4.691
cloudbees-unified-ui:1.1019
cloudbees-update-center-plugin:906
command-launcher:116.vd85919c54a_d6
commons-compress-api:1.26.1-2
commons-lang3-api:3.17.0-84.vb_b_938040b_078
commons-text-api:1.12.0-129.v99a_50df237f7
configuration-as-code:1903.v004d55388f30
credentials:1393.v6017143c1763
credentials-binding:687.v619cb_15e923f
display-url-api:2.209.v582ed814ff2f
docker-commons:445.v6b_646c962a_94
durable-task:581.v299a_5609d767
ec2:1764.v71db_efb_46a_fe
echarts-api:5.5.1-4
eddsa-api:0.3.0-4.v84c6f0f4969e
font-awesome-api:6.6.0-2
git:5.6.0
git-client:6.1.0
github:1.40.0
github-api:1.321-478.vc9ce627ce001
github-branch-source:1807.v50351eb_7dd13
gson-api:2.11.0-85.v1f4e87273c33
handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
infradna-backup:1077
instance-identity:201.vd2a_b_5a_468a_a_6
ionicons-api:74.v93d5eb_813d5f
jackson2-api:2.17.0-379.v02de8ec9f64c
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javax-activation-api:1.2.0-7
javax-mail-api:1.6.2-10
jaxb:2.3.9-1
jdk-tool:80.v8a_dee33ed6f0
jjwt-api:0.11.5-112.ve82dfb_224b_a_d
joda-time-api:2.13.0-93.v9934da_29b_a_e9
jquery3-api:3.7.1-2
jsch:0.2.16-86.v42e010d9484b_
json-api:20240303-101.v7a_8666713110
json-path-api:2.9.0-118.v7f23ed82a_8b_8
junit:1311.v39e1716e4eb_e
kube-agent-management:803
kubernetes:4302.va_756e4b_67715
kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2
kubernetes-credentials:190.v03c305394deb_
ldap:770.vb_455e934581a_
mailer:489.vd4b_25144138f
mapdb-api:1.0.9-40.v58107308b_7a_7
controller-provisioning-core:2.6.65
controller-provisioning-kubernetes:3.27341
matrix-auth:3.2.3
metrics:4.2.21-458.vcf496cb_839e4
mina-sshd-api-common:2.14.0-136.v4d2b_0853615e
mina-sshd-api-core:2.14.0-136.v4d2b_0853615e
mina-sshd-api-scp:2.14.0-136.v4d2b_0853615e
mina-sshd-api-sftp:2.14.0-136.v4d2b_0853615e
nectar-license:662
nectar-rbac:1638
node-iterator-api:55.v3b_77d4032326
oauth-credentials:0.653.v14cf2088e950
okhttp-api:4.11.0-181.v1de5b_83857df
operations-center-agent:3.27341
operations-center-clusterops:3.27341
operations-center-context:3.27341
operations-center-ec2-cloud:3.27341
operations-center-elasticsearch-provider:3.27341
operations-center-jnlp-controller:3.27341
operations-center-kubernetes-cloud:3.27341
operations-center-license:3.27341
operations-center-monitoring:3.27341
operations-center-rbac:3.27341
operations-center-server:3.27341
operations-center-sso:3.27341
operations-center-updatecenter:3.27341
people-view:1.2
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:5.1.0
popper-api:1.16.1-3
popper2-api:2.11.6-5
prism-api:1.29.0-18
pubsub-light:1.18
role-strategy:743.v142ea_b_d5f1d3
saml:4.501.v4313a_01e3a_18
scm-api:698.v8e3b_c788f0a_6
script-security:1369.v9b_98a_4e95b_2d
snakeyaml-api:2.3-123.v13484c65210a_
sse-gateway:1.27
ssh-credentials:349.vb_8b_6b_9709f5b_
sshd:3.330.vc866a_8389b_58
structs:338.v848422169819
support-core:1523.v5486c8d6da_f3
token-macro:400.v35420b_922dcb_
trilead-api:2.147.vb_73cc728a_32e
unique-id:2.107.v3fa_e48679298
user-activity-monitoring:2.430
variant:60.v7290fc0eb_b_cd
view-job-filters:382.vdf2d5e3f02f0
workflow-api:1336.vee415d95c521
workflow-basic-steps:1058.vcb_fc1e3a_21a_9
workflow-cps:3975.3977.v478dd9e956c3
workflow-durable-task-step:1398.vf6c9e89e5988
workflow-job:1436.vfa_244484591f
workflow-scm-step:427.v4ca_6512e7df1
workflow-step-api:678.v3ee58b_469476
workflow-support:936.v9fa_77211ca_e1

Hi, I’m currently having an issue with cron jobs and hibernated masters. I have a pipeline triggering every night at 1AM. At that time, the controller is in hibernation so it wakes up to run the pipeline. I can see in the logs the line Started by timer (after hibernation). But right after it finishes, sometimes I get a second pipeline, this time with the log Started by timer.
The configuration of the pipeline is as follows:

pipeline:
  triggers:
    - "cron('0 1 * * 1-5')"
  options:
    - "timeout(time: 5, unit: 'HOURS')"
    - "buildDiscarder(logRotator(numToKeepStr: '15'))"
    - "disableResume()"
    - "disableConcurrentBuilds()"
    - "skipStagesAfterUnstable()"
    - "preserveStashes(buildCount:10)"

Any idea of why this happens and how to avoid it?
Thanks.

Seems you’re running a cloudbees Jenkins so I would suggest to open a ticket at cloudbees.