Skip to content

CircleCI integration for Cron management

We have support for Cron management baked into our CircleCI Orb.

See the example below for implementation details.

orbs:
  skpr: skpr/skpr@2.3

jobs:
  deploy:
    parameters:
      env:
        type: string
      version:
        type: string
    machine:
      image: ubuntu-2204:2022.10.2
      docker_layer_caching: true
    steps:
      - checkout
      - skpr/cron-suspend:
          title: Suspend Cron
          env: <<parameters.env>>
      - skpr/deploy:
          title: Deploy
          env: <<parameters.env>>
          version: <<parameters.version>>
      - skpr/cron-resume:
          title: Resume Cron
          env: <<parameters.env>>