# argocd_source_activeJobs.yaml
apiVersion: apps.kruise.io/v1alpha1
kind: AdvancedCronJob
metadata:
  name: acj-test
spec:
  schedule: "*/1 * * * *"
  template:
    broadcastJobTemplate:
      spec:
        template:
          spec:
            containers:
              - name: pi
                image: perl
                command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]
            restartPolicy: Never
        completionPolicy:
          type: Always
          ttlSecondsAfterFinished: 30

status:
  active:
    - apiVersion: apps.kruise.io/v1alpha1
      kind: BroadcastJob
      name: acj-test-1694882400
      namespace: default
      resourceVersion: '4012'
      uid: 2b08a429-a43b-4382-8e5d-3db0c72b5b13
  lastScheduleTime: '2023-09-16T16:40:00Z'
  type: BroadcastJob